Skip to content

Commit 8b15da7

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- uses: shivammathur/setup-php@v2
2626
with:
2727
php-version: ${{ matrix.php }}
28-
coverage: xdebug
28+
coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }}
2929
ini-file: development
3030
- run: composer install
3131
- run: vendor/bin/phpunit --coverage-text
@@ -42,7 +42,7 @@ jobs:
4242
- uses: shivammathur/setup-php@v2
4343
with:
4444
php-version: 8.2
45-
coverage: xdebug
45+
coverage: pcov
4646
ini-file: development
4747
- run: composer install
4848
- run: vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)