File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 63
63
- name : Generate Coverage Report and Badges
64
64
run : |
65
65
mkdir -p doc/coverage
66
- gcovr --branches --xml-pretty --exclude-unreachable-branches -o doc/coverage/coverage_report.xml
67
- gcovr --branches --html --html-details -o doc/coverage/coverage_report.html
66
+ gcovr --verbose --txt-metric branch --xml-pretty --exclude-unreachable-branches -o doc/coverage/coverage_report.xml
67
+ gcovr --verbose --txt-metric branch --html --html-details -o doc/coverage/coverage_report.html
68
68
LINE_COVERAGE=$(grep -oP '(?<=<coverage line-rate=")[0-9.]+(?=")' doc/coverage/coverage_report.xml | head -n 1)
69
69
BRANCH_COVERAGE=$(grep -oP '(?<=branch-rate=")[0-9.]+(?=")' doc/coverage/coverage_report.xml | head -n 1)
70
70
LINE_COVERAGE_PERCENT=$(printf "%.0f" $(echo "$LINE_COVERAGE * 100" | bc))
You can’t perform that action at this time.
0 commit comments