Skip to content

Commit 1ad87f9

Browse files
committed
Configure coverage reporting for GitHub Actions only
1 parent fcc8ae8 commit 1ad87f9

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
php-ini-values: "zend.assertions=1"
8484

8585
- name: "Run PHPUnit"
86-
run: "vendor/bin/phpunit --configuration phpunit.evergreen.xml"
86+
run: "vendor/bin/phpunit --configuration phpunit.evergreen.xml --coverage-clover coverage.xml"
8787
env:
8888
XDEBUG_MODE: "coverage"
8989
MONGODB_URI: ${{ steps.setup-mongodb.outputs.cluster-uri }}

phpunit.evergreen.xml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@
3131
</include>
3232
</source>
3333

34-
<coverage>
35-
<report>
36-
<clover outputFile="coverage.xml" />
37-
</report>
38-
</coverage>
39-
4034
<logging>
4135
<junit outputFile="test-results.xml" />
4236
</logging>

0 commit comments

Comments
 (0)