Skip to content

Commit 5943cd7

Browse files
committed
Improve tests to temporarily downgrade to Xdebug 3.4.1 due to segfaults
1 parent be164ba commit 5943cd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ jobs:
88
PHPUnit:
99
name: PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }})
1010
runs-on: ${{ matrix.os }}
11+
continue-on-error: ${{ matrix.os == 'windows-2022' }}
1112
strategy:
1213
matrix:
1314
os:
@@ -28,7 +29,7 @@ jobs:
2829
- uses: shivammathur/setup-php@v2
2930
with:
3031
php-version: ${{ matrix.php }}
31-
coverage: xdebug
32+
coverage: ${{ (matrix.os != 'windows-2022' || matrix.php < 8.1) && 'xdebug' || '' }} # temporarily skip Xdebug on Windows with PHP 8.1+ due to segfault with Xdebug 3.4.2
3233
ini-file: development
3334
- run: composer install
3435
- run: vendor/bin/phpunit --coverage-text
@@ -45,6 +46,7 @@ jobs:
4546
- uses: shivammathur/setup-php@v2
4647
with:
4748
php-version: 8.2
49+
extensions: xdebug-3.4.1 # temporarily downgrade Xdebug due to segfault on macOS with Xdebug 3.4.2
4850
coverage: xdebug
4951
- run: composer install
5052
- run: vendor/bin/phpunit --coverage-text

0 commit comments

Comments
 (0)