Skip to content

Commit

Permalink
original coverage for vscode as well
Browse files Browse the repository at this point in the history
  • Loading branch information
nimar committed Jan 20, 2022
1 parent 927a7b3 commit 94e0fb0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .vscode/coverage
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ export RUSTFLAGS="-Zprofile -Ccodegen-units=1 -Cinline-threshold=0 -Clink-dead-c
cargo +nightly build --verbose $CARGO_OPTIONS
cargo +nightly test --all-features --no-fail-fast --verbose $CARGO_OPTIONS

grcov . --ignore="/*" -t lcov > lcov.info
genhtml -o coverage --show-details --highlight --ignore-errors source --legend lcov.info
grcov . --binary-path ./target/debug -s . --ignore="/*" --ignore="ferric/examples/*" -t lcov --branch --ignore-not-existing > lcov.info
genhtml -o coverage --branch-coverage --show-details --highlight --ignore-errors source --legend lcov.info
cargo clean
2 changes: 1 addition & 1 deletion .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
{
"label": "coverage",
"type": "shell",
"command": "${workspaceFolder}/.vscode/coverage2",
"command": "${workspaceFolder}/.vscode/coverage",
"group": {
"kind": "build",
"isDefault": true
Expand Down

0 comments on commit 94e0fb0

Please sign in to comment.