Add pip3 to coverage job
This commit is contained in:
parent
6aea21abeb
commit
da3b937c82
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue