Improve `coverage` job in CI

This commit is contained in:
arturomf94 2022-01-28 00:28:06 +00:00 committed by eta
parent c5fa23b336
commit 72a08cc295
1 changed files with 1 additions and 4 deletions

View File

@ -66,10 +66,7 @@ coverage:
- cargo install grcov
# Generate report
- ./maint/with_coverage.sh cargo test --verbose --all-features
- ./maint/with_coverage.sh -f cobertura -o coverage.xml cargo test --verbose --all-features
# - grcov . --binary-path ./target/x86_64-unknown-linux-gnu/ -s . -t html --branch --ignore-not-existing --ignore "*cargo*" -o ./coverage/
# # generate cobertura report for gitlab integration
# - grcov . --binary-path ./target/x86_64-unknown-linux-gnu/ -s . -t cobertura --branch --ignore-not-existing --ignore "*cargo*" -o coverage.xml
- ./maint/with_coverage.sh -f cobertura -o coverage.xml -c true
artifacts:
paths:
- 'coverage'