From 5943cd784e619ed189a5982975b59b486937939d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Thu, 13 Mar 2025 09:20:59 +0100 Subject: [PATCH] Improve tests to temporarily downgrade to Xdebug 3.4.1 due to segfaults --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7ca9bca..f870886 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,7 @@ jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }} on ${{ matrix.os }}) runs-on: ${{ matrix.os }} + continue-on-error: ${{ matrix.os == 'windows-2022' }} strategy: matrix: os: @@ -28,7 +29,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - coverage: xdebug + 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 ini-file: development - run: composer install - run: vendor/bin/phpunit --coverage-text @@ -45,6 +46,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: 8.2 + extensions: xdebug-3.4.1 # temporarily downgrade Xdebug due to segfault on macOS with Xdebug 3.4.2 coverage: xdebug - run: composer install - run: vendor/bin/phpunit --coverage-text