Skip to content

Commit 1c88019

Browse files
committed
Update coverage reporting in PHPUnit configuration and GitHub Actions workflow
- Added Cobertura output format to phpunit.xml for enhanced coverage reporting. - Updated the coverage file path in the GitHub Actions workflow to reflect the new output file location.
1 parent f82b4ec commit 1c88019

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/phpunits.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
uses: coverallsapp/github-action@v2
150150
with:
151151
github-token: ${{ secrets.GITHUB_TOKEN }}
152-
file: build/clover.xml
152+
file: build/coverage.xml
153153
format: cobertura
154154
flag-name: run-${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.caches }}-${{ matrix.locks }}
155155
parallel: true

phpunit.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<clover outputFile="./build/clover.xml"/>
1111
<html outputDirectory="./build/html/"/>
1212
<xml outputDirectory="./build/"/>
13+
<cobertura outputFile="./build/coverage.xml"/>
1314
</report>
1415
</coverage>
1516
<testsuites>

0 commit comments

Comments
 (0)