File tree Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Expand file tree Collapse file tree 3 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,19 @@ jobs:
21
21
- name : Setup python
22
22
uses : actions/setup-python@v5
23
23
with :
24
- python-version : " 3.11 "
24
+ python-version : " 3.12 "
25
25
26
26
- name : Install dependencies
27
27
run : |
28
28
python -m pip install --upgrade pip setuptools wheel
29
29
python -m pip install -e .[docs]
30
30
31
+ - name : Test that docs build without error
32
+ if : github.event_name == 'pull_request'
33
+ run : mkdocs build --strict
34
+
31
35
- name : Deploy docs to GitHub Pages
32
36
if : github.event_name == 'push'
33
37
run : mkdocs gh-deploy --strict --force
34
38
35
- - name : Test that docs build without error
36
- if : github.event_name == 'pull_request'
37
- run : mkdocs build --strict
39
+
Original file line number Diff line number Diff line change 44
44
45
45
- name : Upload to PyPI
46
46
uses : pypa/gh-action-pypi-publish@release/v1
47
-
Original file line number Diff line number Diff line change 78
78
- name : Coverage
79
79
if : ${{ inputs.coverage }}
80
80
uses : codecov/codecov-action@v5
81
- with :
82
- files : ./coverage.xml
83
- flags : unittests
84
- name : codecov-umbrella
85
- fail_ci_if_error : false
You can’t perform that action at this time.
0 commit comments