Add new flag for llvm-cov to avoid absolute paths

v5-api
Dominik Nakamura 2 years ago
parent 8f5fa81f12
commit 6e1e3a902d
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

@ -13,8 +13,8 @@ coverage:
cargo install cargo-llvm-cov
rustup component add llvm-tools-preview
cargo llvm-cov --html --all-features -- --test-threads 1
cargo llvm-cov --no-run --json --summary-only | \
cargo llvm-cov --remap-path-prefix --html --all-features -- --test-threads 1
cargo llvm-cov --remap-path-prefix --no-run --json --summary-only | \
jq -c '.data[0].totals.lines.percent | { \
schemaVersion: 1, \
label: "coverage", \

Loading…
Cancel
Save