From cee0678817588fa7d4f2f4ec25ff89631a005d6e Mon Sep 17 00:00:00 2001 From: Philipp Dresselmann Date: Mon, 16 Dec 2024 14:51:36 +0100 Subject: [PATCH] chore(coverage): Fix llvm-cov branch coverage metrics Without this flag, the generated reports show 0% branch coverage. --- coverage_report.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coverage_report.sh b/coverage_report.sh index b819c8bba..62a86e4d4 100755 --- a/coverage_report.sh +++ b/coverage_report.sh @@ -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}"