This commit is contained in:
parent
c45846819b
commit
4b6b935b06
2
automation/Jenkinsfile
vendored
2
automation/Jenkinsfile
vendored
@ -64,7 +64,7 @@ pipeline {
|
|||||||
steps {
|
steps {
|
||||||
withEnv(['RUSTFLAGS=-Cinstrument-coverage', 'LLVM_PROFILE_FILE=target/coverage/%p-%m.profraw']) {
|
withEnv(['RUSTFLAGS=-Cinstrument-coverage', 'LLVM_PROFILE_FILE=target/coverage/%p-%m.profraw']) {
|
||||||
echo "Executing tests with coverage"
|
echo "Executing tests with coverage"
|
||||||
sh 'cargo clear'
|
sh 'cargo clean'
|
||||||
sh 'cargo test --all-features'
|
sh 'cargo test --all-features'
|
||||||
sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/'
|
sh 'grcov . -s . --binary-path ./target/debug -t html --branch --ignore-not-existing -o ./target/debug/coverage/'
|
||||||
sh 'ls -lr ./target/debug/coverage/'
|
sh 'ls -lr ./target/debug/coverage/'
|
||||||
|
Loading…
Reference in New Issue
Block a user