Skip to content

Commit ab8fcf2

Browse files
author
Holger Lösken
committed
Generate clover reports for codecov
1 parent f976781 commit ab8fcf2

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/tests.yml

+1
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ jobs:
4444
name: Push coverage to codecov
4545
with:
4646
token: ${{ secrets.CODECOV_TOKEN }}
47+
file: ./clover.xml
4748
flags: unittests
4849
name: codecov-umbrella
4950
fail_ci_if_error: true

phpunit.xml.dist

+3
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,7 @@
2222
</whitelist>
2323
</filter>
2424

25+
<logging>
26+
<log type="coverage-clover" target="clover.xml"/>
27+
</logging>
2528
</phpunit>

0 commit comments

Comments
 (0)