Skip to content

Commit

Permalink
chore(coverage): Fix llvm-cov branch coverage metrics
Browse files Browse the repository at this point in the history
Without this flag, the generated reports show 0% branch coverage.
  • Loading branch information
phildremi committed Dec 16, 2024
1 parent a996f19 commit cee0678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage_report.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ main() {
open="1"
fi

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

exc rm -rf "${OUTPUT_DIR}"
exc mkdir -p "${OUTPUT_DIR}"
Expand Down

0 comments on commit cee0678

Please sign in to comment.