Show More
@@ -18,9 +18,18 b' jobs:' | |||
|
18 | 18 | sudo apt-get install graphviz |
|
19 | 19 | - name: Install Python dependencies |
|
20 | 20 | run: | |
|
21 | python -m pip install --upgrade pip setuptools | |
|
21 | python -m pip install --upgrade pip setuptools coverage | |
|
22 | 22 | pip install -r docs/requirements.txt |
|
23 | 23 | - name: Build docs |
|
24 | 24 | run: | |
|
25 | 25 | python tools/fixup_whats_new_pr.py |
|
26 | make -C docs/ html SPHINXOPTS="-W" | |
|
26 | make -C docs/ html SPHINXOPTS="-W" \ | |
|
27 | PYTHON="coverage run -a" \ | |
|
28 | SPHINXBUILD="coverage run -a -m sphinx.cmd.build" | |
|
29 | - name: Generate coverage xml | |
|
30 | run: | | |
|
31 | coverage combine `find . -name .coverage\*` && coverage xml | |
|
32 | - name: Upload coverage to Codecov | |
|
33 | uses: codecov/codecov-action@v2 | |
|
34 | with: | |
|
35 | name: Docs |
General Comments 0
You need to be logged in to leave comments.
Login now