Skip to content

Commit 78ebd28

Browse files
authored
Merge pull request #323 from clue-labs/pcov
Update test suite to use PCOV to avoid segfault with Xdebug 3.4.2
2 parents be164ba + 5c857dd commit 78ebd28

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
@@ -28,7 +28,7 @@ jobs:
2828
- uses: shivammathur/setup-php@v2
2929
with:
3030
php-version: ${{ matrix.php }}
31-
coverage: xdebug
31+
coverage: ${{ matrix.php < 8.0 && 'xdebug' || 'pcov' }}
3232
ini-file: development
3333
- run: composer install
3434
- run: vendor/bin/phpunit --coverage-text
@@ -45,6 +45,6 @@ jobs:
4545
- uses: shivammathur/setup-php@v2
4646
with:
4747
php-version: 8.2
48-
coverage: xdebug
48+
coverage: pcov
4949
- run: composer install
5050
- run: vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)