-
Notifications
You must be signed in to change notification settings - Fork 54
53 lines (43 loc) · 1.17 KB
/
Copy pathsource-health.yml
File metadata and controls
53 lines (43 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
name: Source Health
on:
schedule:
- cron: '17 9 * * *'
workflow_dispatch:
permissions:
contents: read
concurrency:
group: source-health
cancel-in-progress: true
env:
GO_VERSION: '1.26.5'
GOFLAGS: -mod=readonly
GOTOOLCHAIN: local
jobs:
live-diagnostics:
name: Live source diagnostics
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Check out code
uses: actions/checkout@v7
with:
persist-credentials: false
- name: Set up Go
uses: actions/setup-go@v7
with:
go-version: ${{ env.GO_VERSION }}
cache: true
- name: Download and verify dependencies
run: |
go mod download
go mod verify
- name: Run live diagnostics
run: go test -tags sourcehealth -run TestSourceHealthLive -count=1 -v ./internal/scraper
- name: Run Goyabu Blogger playback diagnostic
run: >
go test -tags live
-run '^TestGoyabuBlackCloverEpisode3Live$'
-count=1 -v -timeout=90s
./internal/player
- name: Run public SDK integration tests
run: go test -run Integration -count=1 -v ./pkg/goanime