Fix error when trying to delete coverage files

pull/14/head
Dominik Nakamura 3 years ago
parent 33c5fe945a
commit e851e70985
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

@ -7,7 +7,7 @@ coverage:
cargo install grcov
rustup component add --toolchain nightly llvm-tools-preview
rm -f *.profraw ./target/debug/coverage lcov.info
rm -rf *.profraw ./target/debug/coverage lcov.info
RUSTFLAGS="-Zinstrument-coverage" LLVM_PROFILE_FILE="coverage-%p-%m.profraw" cargo +nightly test --all-features
rustup run nightly grcov . -s . --binary-path ./target/debug/ -t html --branch --ignore-not-existing -o ./target/debug/coverage

Loading…
Cancel
Save