update codecov coverage github action and remove use of deprecated bash uploader

This commit is contained in:
Christoph Hasse
2021-07-29 20:14:44 +02:00
parent c1586a72b3
commit f3d2ed3f86
2 changed files with 10 additions and 2 deletions
@@ -42,7 +42,11 @@ jobs:
run: |
cd build
ctest --output-on-failure
bash <(curl -s https://codecov.io/bash)
pip install gcovr
gcovr -r ./../ -x --exclude-unreachable-branches --exclude-throw-branches -o coverage.xml .
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -f build/coverage.xml
special_releaseValgrind:
name: 'Ubuntu 20.04 - GCC - Release+Valgrind'
@@ -43,4 +43,8 @@ jobs:
run: |
cd build
ctest --output-on-failure
bash <(curl -s https://codecov.io/bash)
pip install gcovr
gcovr -r ./../ -x --exclude-unreachable-branches --exclude-throw-branches -o coverage.xml .
curl -Os https://uploader.codecov.io/latest/linux/codecov
chmod +x codecov
./codecov -f build/coverage.xml