mirror of
https://codeberg.org/unspeaker/tek.git
synced 2025-12-06 11:46:41 +01:00
37.32% cov
This commit is contained in:
parent
c66256124a
commit
f263c84555
5 changed files with 34 additions and 3 deletions
2
Justfile
2
Justfile
|
|
@ -25,8 +25,8 @@ covfig := "CARGO_INCREMENTAL=0 RUSTFLAGS='-Cinstrument-coverage' RUSTDOCFLAGS='-
|
|||
grcov-binary := "--binary-path ./target/coverage/deps/"
|
||||
grcov-ignore := "--ignore-not-existing --ignore '../*' --ignore \"/*\" --ignore 'target/*'"
|
||||
cov:
|
||||
rm -rf target/coverage/html || true
|
||||
{{covfig}} time cargo test -j4 --workspace --exclude jack --profile coverage
|
||||
rm -rf target/coverage/html || true
|
||||
{{covfig}} time grcov . -s . {{grcov-binary}} {{grcov-ignore}} -t html -o target/coverage/html
|
||||
cov-md:
|
||||
{{covfig}} time cargo test -j4 --workspace --exclude jack --profile coverage
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue