Skip to content

Commit fee8267

Browse files
Upgrade partial hits to full hits on codecov
1 parent b3c1c75 commit fee8267

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ coverage_xml: coverage
6767
codecov.bash:
6868
curl -s https://codecov.io/bash > $@
6969

70+
# edit the xml inplace to upgrade partial hits to full hits
7071
test_codecov: coverage_xml codecov.bash
72+
sed -i -e 's|condition-coverage="[^"]*\([0-9]\+\))"|condition-coverage="100% (\1/\1)"|g' cobertura.xml
7173
bash codecov.bash -X gcov search
7274

7375
tidy:

0 commit comments

Comments
 (0)