|
|
|
@ -9,7 +9,7 @@ coverage:
|
|
|
|
|
|
|
|
|
|
rm -rf *.profraw ./target/debug/coverage lcov.info
|
|
|
|
|
|
|
|
|
|
RUSTFLAGS="-Zinstrument-coverage" LLVM_PROFILE_FILE="coverage-%p-%m.profraw" cargo +nightly test --all-features
|
|
|
|
|
RUSTFLAGS="-Zinstrument-coverage -Clink-dead-code" 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
|
|
|
|
|
rustup run nightly grcov . -s . --binary-path ./target/debug/ -t lcov --branch --ignore-not-existing --ignore "/*" -o lcov.info
|
|
|
|
|
|
|
|
|
|