Skip to content

Commit

Permalink
Fix grcov reports not including doctest and branch coverage (rosenpas…
Browse files Browse the repository at this point in the history
  • Loading branch information
koraa authored Dec 16, 2024
2 parents a996f19 + a3d4686 commit 97dff84
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion coverage_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@ main() {
open="1"
fi

exc cargo llvm-cov --all-features --workspace --doctests
exc cargo llvm-cov --all-features --workspace --doctests --branch

exc cp -rv target/llvm-cov-target/doctestbins target/llvm-cov-target/debug/deps/doctestbins
exc rm -rf "${OUTPUT_DIR}"
exc mkdir -p "${OUTPUT_DIR}"
exc grcov target/llvm-cov-target/ --llvm -s . --branch \
Expand Down

0 comments on commit 97dff84

Please sign in to comment.