update codecov coverage github action and remove use of deprecated bash uploader
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user