Skip to content

Commit 8556eb8

Browse files
committed
[3.0] Use PCOV to avoid segfault with Xdebug 3.4.2 on PHP 8.0+
Builds on #223, #222, #218, and bases on https://github .com/reactphp/async/pull/92 .
1 parent 967dac8 commit 8556eb8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ jobs:
99
name: PHPUnit (PHP ${{ matrix.php }})
1010
runs-on: ubuntu-24.04
1111
strategy:
12+
fail-fast: false
1213
matrix:
1314
php:
1415
- 8.4
@@ -25,7 +26,7 @@ jobs:
2526
- uses: shivammathur/setup-php@v2
2627
with:
2728
php-version: ${{ matrix.php }}
28-
coverage: xdebug
29+
coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }}
2930
ini-file: development
3031
- run: composer install
3132
- run: vendor/bin/phpunit --coverage-text
@@ -42,7 +43,7 @@ jobs:
4243
- uses: shivammathur/setup-php@v2
4344
with:
4445
php-version: 8.2
45-
coverage: xdebug
46+
coverage: pcov
4647
ini-file: development
4748
- run: composer install
4849
- run: vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)