File tree Expand file tree Collapse file tree 6 files changed +87
-29
lines changed Expand file tree Collapse file tree 6 files changed +87
-29
lines changed Original file line number Diff line number Diff line change 1
1
name : Checks
2
- on : [pull_request, push]
2
+ on :
3
+ push :
4
+ pull_request :
5
+ branches : [ master ]
6
+ workflow_dispatch :
3
7
4
8
concurrency :
5
9
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Original file line number Diff line number Diff line change 12
12
name : " CodeQL"
13
13
14
14
on :
15
- push : null
16
- pull_request : null
15
+ push :
16
+ pull_request :
17
17
schedule :
18
18
- cron : " 26 6 * * 6"
19
+ workflow_dispatch :
19
20
20
21
concurrency :
21
22
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Original file line number Diff line number Diff line change
1
+ name : Docs Tests
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - " docs/**"
7
+ - " discord/**"
8
+ - " test/**"
9
+ - " requirements/**"
10
+ pull_request :
11
+ paths :
12
+ - " docs/**"
13
+ - " discord/**"
14
+ - " test/**"
15
+ - " requirements/**"
16
+ schedule :
17
+ - cron : " 0 0 * * *"
18
+ workflow_dispatch :
19
+
20
+ jobs :
21
+ docs :
22
+ name : " Build Docs"
23
+ runs-on : ubuntu-latest
24
+ steps :
25
+
26
+ - name : Set up Python ${{ matrix.python-version }}
27
+ uses : actions/setup-python@v4
28
+ with :
29
+ python-version : " 3.8"
30
+ cache : " pip"
31
+ cache-dependency-path : " requirements/docs.txt"
32
+ check-latest : true
33
+ - name : Install dependencies
34
+ run : |
35
+ python -m pip install -U pip
36
+ pip install ".[docs]"
37
+ - name : Check Links
38
+ if : github.event_name == 'schedule'
39
+ run : |
40
+ cd docs
41
+ make linkcheck
42
+ - name : Compile to html
43
+ run : |
44
+ cd docs
45
+ make html
Original file line number Diff line number Diff line change 1
1
name : Type Check and Lint
2
- on : [push, pull_request]
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - " docs/**"
7
+ - " discord/**"
8
+ - " test/**"
9
+ - " requirements/**"
10
+ pull_request :
11
+ branches : [ master ]
12
+ paths :
13
+ - " docs/**"
14
+ - " discord/**"
15
+ - " test/**"
16
+ - " requirements/**"
17
+ workflow_dispatch :
3
18
4
19
concurrency :
5
20
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
Original file line number Diff line number Diff line change @@ -2,16 +2,27 @@ name: Unit Tests
2
2
3
3
on :
4
4
push :
5
+ paths :
6
+ - " discord/**"
7
+ - " test/**"
8
+ - " requirements/**"
5
9
pull_request :
10
+ branches : [ master ]
11
+ paths :
12
+ - " discord/**"
13
+ - " test/**"
14
+ - " requirements/**"
6
15
schedule :
7
16
- cron : " 0 0 * * *"
17
+ workflow_dispatch :
8
18
9
19
concurrency :
10
20
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
11
21
cancel-in-progress : true
12
22
13
23
jobs :
14
24
pytest :
25
+ name : " Test build with matrix"
15
26
runs-on : ${{ matrix.os }}
16
27
strategy :
17
28
matrix :
59
70
name : codecov-umbrella
60
71
fail_ci_if_error : true
61
72
verbose : true
62
- docs :
63
- runs-on : ubuntu-latest
64
- steps :
65
-
66
- - name : Set up Python ${{ matrix.python-version }}
67
- uses : actions/setup-python@v4
68
- with :
69
- python-version : " 3.8"
70
- cache : " pip"
71
- cache-dependency-path : " requirements/docs.txt"
72
- check-latest : true
73
- - name : Install dependencies
74
- run : |
75
- python -m pip install -U pip
76
- pip install ".[docs]"
77
- - name : Check Links
78
- if : github.event_name == 'schedule'
79
- run : |
80
- cd docs
81
- make linkcheck
82
- - name : Compile to html
83
- run : |
84
- cd docs
85
- make html
Original file line number Diff line number Diff line change 1
1
name : Check TODO
2
- on : [push, pull_request]
2
+
3
+ on :
4
+ push :
5
+ pull_request :
6
+ branches : [ master ]
7
+ workflow_dispatch :
8
+
3
9
jobs :
4
10
todo :
5
11
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments