Skip to content

Commit c85ca3b

Browse files
committed
ci(behat): pin phpcov to v12 to match php-code-coverage
The coverage merge step downloaded the floating phpcov.phar, which is now 13.x and rejects coverage files written by phpunit/php-code-coverage 12.x. Pin to phpcov-12.phar and stop swallowing the merge error. | Q | A | ------------- | --- | Branch? | 4.3 | Tickets | ∅ | License | MIT | Doc PR | ∅
1 parent f688b2d commit c85ca3b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,11 +517,10 @@ jobs:
517517
- name: Merge code coverage reports
518518
if: matrix.coverage
519519
run: |
520-
wget -qO /usr/local/bin/phpcov https://phar.phpunit.de/phpcov.phar
520+
wget -qO /usr/local/bin/phpcov https://phar.phpunit.de/phpcov-12.phar
521521
chmod +x /usr/local/bin/phpcov
522522
mkdir -p build/coverage
523523
phpcov merge --clover build/logs/behat/clover.xml build/coverage
524-
continue-on-error: true
525524
- name: Upload test artifacts
526525
if: always()
527526
uses: actions/upload-artifact@v6

0 commit comments

Comments
 (0)