Skip to content

Commit 5efd8ee

Browse files
author
Oussama Sid
committed
Fix CI: add --no-coverage to prevent failOnWarning exit code 1
The <coverage> block in phpunit.xml.dist causes PHPUnit to warn when no coverage driver is installed (coverage: none in CI). With failOnWarning=true this becomes exit code 1 before any test runs. --no-coverage suppresses it.
1 parent 44acfba commit 5efd8ee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,4 @@ jobs:
6060
run: composer show -D
6161

6262
- name: Execute tests
63-
run: vendor/bin/pest --ci
63+
run: vendor/bin/pest --ci --no-coverage

0 commit comments

Comments
 (0)