Skip to content

Commit

Permalink
GHA: add branch coverage to report
Browse files Browse the repository at this point in the history
lcov disables branch coverage by default, enable it

Signed-off-by: Robert Gałat <[email protected]>
  • Loading branch information
RobertGalatNordic committed Oct 25, 2023
1 parent e945f6d commit f4d8653
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/common_run_dut_ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f4d8653

Please sign in to comment.