##// END OF EJS Templates
Merge pull request #13307 from Kojoley/collect-coverage-from-docs-build...
Matthias Bussonnier -
r27115:2a326dc5 merge
parent child Browse files
Show More
@@ -18,9 +18,18 jobs:
18 sudo apt-get install graphviz
18 sudo apt-get install graphviz
19 - name: Install Python dependencies
19 - name: Install Python dependencies
20 run: |
20 run: |
21 python -m pip install --upgrade pip setuptools
21 python -m pip install --upgrade pip setuptools coverage
22 pip install -r docs/requirements.txt
22 pip install -r docs/requirements.txt
23 - name: Build docs
23 - name: Build docs
24 run: |
24 run: |
25 python tools/fixup_whats_new_pr.py
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