The coverage report was always the final section of the main test run. This made it hard to scroll around and find exactly what went wrong -- particularly as not everyone realizes that coverage isn't part of the test run, but also because the output from coverage is... excessively long. This mirrors what we do in our other workflows.pull/10979/head
parent
47d1a55e78
commit
68a84f6535
3 changed files with 20 additions and 18 deletions
@ -0,0 +1,14 @@ |
||||
echo "" |
||||
echo "" |
||||
echo "=== Gathering coverage report ===" |
||||
echo "" |
||||
|
||||
python3 -m coverage combine |
||||
python3 -m coverage xml |
||||
python3 -m coverage report |
||||
|
||||
# Currently codecov.py does not handle Azure, use this fork of a fork to get it |
||||
# working without requiring a token |
||||
git clone https://github.com/mensinda/codecov-python |
||||
python3 -m pip install --ignore-installed ./codecov-python |
||||
python3 -m codecov -f .coverage/coverage.xml -n "VS$env:compiler $env:arch $env:backend" -c $env:SOURCE_VERSION |
Loading…
Reference in new issue