diff options
Diffstat (limited to 'ci/coverage.ps1')
-rw-r--r-- | ci/coverage.ps1 | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/ci/coverage.ps1 b/ci/coverage.ps1 new file mode 100644 index 0000000..ebd7cd4 --- /dev/null +++ b/ci/coverage.ps1 @@ -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 |