File tree 1 file changed +25
-17
lines changed
1 file changed +25
-17
lines changed Original file line number Diff line number Diff line change 1
- # This workflow will install Python dependencies and check for broken links
2
- # For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
3
-
4
1
name : Manual Pre Checks
5
2
6
3
on :
7
- push :
8
- branches :
9
- - " *"
10
4
pull_request :
11
- branches :
12
- - main
13
- - v4
14
- - v3
15
- # Allows you to run this workflow manually from the Actions tab
5
+ types : [opened, synchronize]
16
6
workflow_dispatch :
17
7
18
8
jobs :
19
9
linkcheck :
20
10
runs-on : ubuntu-latest
21
11
steps :
22
- - uses : actions/checkout@v4
23
- - name : link-check
24
- run : |
25
- pip install -r requirements.txt
26
- make linkcheck
27
-
12
+ - uses : actions/checkout@v4
13
+ - name : Set up Python
14
+ uses : actions/setup-python@v5
15
+ with :
16
+ python-version : 3.x
17
+ - name : Install Dependencies
18
+ run : pip install -r requirements.txt
19
+ - name : Clean Previous Builds
20
+ run : make linkcheck
21
+ build-docs :
22
+ runs-on : ubuntu-latest
23
+ needs : linkcheck
24
+ steps :
25
+ - uses : actions/checkout@v4
26
+ - name : Set up Python
27
+ uses : actions/setup-python@v5
28
+ with :
29
+ python-version : 3.x
30
+ - name : Install Dependencies
31
+ run : pip install -r requirements.txt
32
+ - name : Clean Previous Builds
33
+ run : make clean
34
+ - name : Build Documentation
35
+ run : make html SPHINXOPTS="-W"
You can’t perform that action at this time.
0 commit comments