##// END OF EJS Templates
CI: Collect coverage from docs build
Nikita Kniazev -
Show More
@@ -18,9 +18,18 b' 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