aboutsummaryrefslogtreecommitdiff
path: root/ci/coverage.ps1
blob: ebd7cd4c3fd4a8e148fd4ce8bb24133a77e9555c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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