From f4d8653433738a5fb163cea51c747f940e709352 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Ga=C5=82at?= Date: Wed, 25 Oct 2023 09:57:40 +0200 Subject: [PATCH] GHA: add branch coverage to report MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit lcov disables branch coverage by default, enable it Signed-off-by: Robert Gałat --- .github/workflows/common_run_dut_ut.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/common_run_dut_ut.yml b/.github/workflows/common_run_dut_ut.yml index ed018c1b9b..012e877d6b 100644 --- a/.github/workflows/common_run_dut_ut.yml +++ b/.github/workflows/common_run_dut_ut.yml @@ -115,11 +115,11 @@ jobs: echo "## Summary" >> summary echo "" >> summary echo "\`\`\`" >> summary - lcov --summary coverage.info >> summary + lcov --summary coverage.info --rc lcov_branch_coverage=1 >> summary echo "\`\`\`" >> summary echo "## File coverage" >> summary echp "">> summary echo "\`\`\`" >> summary - lcov --list coverage.info >> summary + lcov --list coverage.info --rc lcov_branch_coverage=1 >> summary echo "\`\`\`" >> summary cat summary >> $GITHUB_STEP_SUMMARY