CI: actually use the correct binary for coverage
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
zvon 2022-09-30 22:29:55 +02:00
parent a2ada402e9
commit ae5559afaf

View File

@ -19,7 +19,7 @@ steps:
- ./test - ./test
- "find . -type f -name \"*.gcno\" -execdir gcov -pb -r {} +" - "find . -type f -name \"*.gcno\" -execdir gcov -pb -r {} +"
- "gcovr --root . -k -j 2 --xml -o gcovr_report.xml --exclude-directories \"tests\"" - "gcovr --root . -k -j 2 --xml -o gcovr_report.xml --exclude-directories \"tests\""
- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r "gcovr_report.xml" --language CPP --force-language - /usr/bin/codacy-coverage-reporter report -r "gcovr_report.xml" --language CPP --force-language
environment: environment:
CODACY_PROJECT_TOKEN: CODACY_PROJECT_TOKEN:
from_secret: project_token from_secret: project_token