Skip to content

Commit 2e86675

Browse files
committed
Fix Pest coverage conflict in GitHub Actions workflow
Remove --coverage flag from test execution command to fix conflict with --coverage-clover flag. Using both flags together caused Pest to fail with "Coverage not found in path" error. The --coverage-clover flag alone is sufficient for generating the XML coverage report needed by Codecov.
1 parent c3e8a20 commit 2e86675

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
@@ -37,7 +37,7 @@ jobs:
3737
run: composer analyze
3838

3939
- name: Execute tests
40-
run: vendor/bin/pest --coverage --coverage-clover=coverage.xml
40+
run: vendor/bin/pest --coverage-clover=coverage.xml
4141

4242
- name: Upload coverage reports to Codecov
4343
uses: codecov/codecov-action@v4

0 commit comments

Comments
 (0)