Skip to content

Commit e123739

Browse files
committed
Add CI check for building of documentation and linkcheck
1 parent 897ea1d commit e123739

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/checks.yaml

+8-2
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
# Also change CACHE_VERSION in the other workflows
12-
CACHE_VERSION: 5
12+
CACHE_VERSION: 6
1313
DEFAULT_PYTHON: 3.8
1414
PRE_COMMIT_CACHE: ~/.cache/pre-commit
1515

@@ -58,6 +58,7 @@ jobs:
5858
. venv/bin/activate
5959
python -m pip install -U pip setuptools wheel
6060
pip install -U -r requirements_test.txt
61+
pip install -U -r doc/requirements.txt
6162
- name: Generate pre-commit restore key
6263
id: generate-pre-commit-key
6364
run: >-
@@ -155,7 +156,7 @@ jobs:
155156
documentation:
156157
name: documentation
157158
runs-on: ubuntu-latest
158-
timeout-minutes: 5
159+
timeout-minutes: 10
159160
needs: prepare-base
160161
steps:
161162
- name: Check out code from GitHub
@@ -182,3 +183,8 @@ jobs:
182183
run: |
183184
. venv/bin/activate
184185
pytest doc/test_messages_documentation.py
186+
- name: Check documentation build and links
187+
run: |
188+
. venv/bin/activate
189+
cd doc
190+
make html

0 commit comments

Comments
 (0)