Add pip3 to coverage job

This commit is contained in:
Arturo Marquez 2022-01-06 21:46:53 -06:00
parent 6aea21abeb
commit da3b937c82
No known key found for this signature in database
GPG Key ID: 4770F4929D4B560A
1 changed files with 2 additions and 1 deletions

View File

@ -60,6 +60,7 @@ coverage:
- rustup toolchain add nightly
- rustup default nightly
- rustup component add llvm-tools-preview
- apt-get update && apt-get install -y lcov python3-pip python3-setuptools
- cargo test --verbose --target x86_64-unknown-linux-gnu --all-features
# generate html report
- cargo install grcov
@ -69,7 +70,7 @@ coverage:
- grcov . --binary-path ./target/x86_64-unknown-linux-gnu/ -s . -t lcov --branch --ignore-not-existing --ignore "*cargo*" -o coverage.lcov
- python3 /usr/local/lib/python3.5/dist-packages/lcov_cobertura.py coverage.lcov
# output coverage summary for gitlab parsing
- apt-get update && apt-get install -y lcov
- lcov --summary coverage.lcov
artifacts:
paths: