Skip to content

Commit aaf3b98

Browse files
switched to cobertura coverage reporting, because f*ck it, see sebastianbergmann/php-code-coverage#578
1 parent 8cf3cf7 commit aaf3b98

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

buildspec.test.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,14 @@ phases:
2525

2626
reports:
2727
coverage:
28+
# files:
29+
# - .phpunit/coverage.clover.xml
30+
# file-format: CloverXml
2831
files:
29-
- .phpunit/coverage.clover.xml
30-
file-format: CloverXml
32+
- .phpunit/coverage.cobertura.xml
33+
file-format: CoberturaXml
34+
35+
3136

3237
test-report:
3338
files:

phpunit.xml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
</include>
1313
<report>
1414
<html outputDirectory=".phpunit/coverage-html" />
15-
<clover outputFile=".phpunit/coverage.clover.xml" />
15+
<!-- <clover outputFile=".phpunit/coverage.clover.xml" /> -->
16+
<cobertura outputFile=".phpunit/coverage.cobertura.xml" />
1617
</report>
1718
</coverage>
1819
<testsuites>

0 commit comments

Comments
 (0)