Skip to content

Commit 93faefe

Browse files
committed
Remove --dont-report-useless-tests flag from PHPUnit coverage command
This flag might be interfering with coverage generation. Testing without it to see if coverage.xml is generated.
1 parent 725a084 commit 93faefe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/code-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ jobs:
7777
pwd
7878
ls -la
7979
echo "=== Running PHPUnit with coverage (without piping to tee) ==="
80-
php -d pcov.enabled=1 -d pcov.directory=${{ github.workspace }} vendor/bin/phpunit --dont-report-useless-tests --coverage-clover=coverage.xml --coverage-text 2>&1 | tail -100
80+
php -d pcov.enabled=1 -d pcov.directory=${{ github.workspace }} vendor/bin/phpunit --coverage-clover=coverage.xml --coverage-text 2>&1 | tail -100
8181
PHPUNIT_EXIT=$?
8282
echo "=== Debug: PHPUnit exit code: $PHPUNIT_EXIT ==="
8383
echo "=== Debug: After running PHPUnit ==="

0 commit comments

Comments
 (0)