Improve `coverage` job in CI
This commit is contained in:
parent
c5fa23b336
commit
72a08cc295
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue