Fix error when trying to delete coverage files

This commit is contained in:
Dominik Nakamura 2021-04-25 19:29:25 +09:00
parent 33c5fe945a
commit e851e70985
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

View File

@ -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