From 2291f2c4fe7f249b31c76cade36ed81c7840c3eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Wed, 5 Mar 2025 14:57:42 +0100 Subject: [PATCH] Update test environment and work around segfault with Xdebug 3.5.0-dev --- .github/workflows/ci.yml | 3 ++- .github/workflows/deploy2website.yml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d3b7820..cb977fe 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,7 +28,7 @@ jobs: - uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} - coverage: xdebug + coverage: ${{ (matrix.os != 'windows-2022' || matrix.php < 8.2) && 'xdebug' || '' }} # temporarily skip Xdebug on Windows with PHP 8.2+ due to segfault with Xdebug 3.5.0-dev ini-file: development - run: composer install - run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml @@ -36,6 +36,7 @@ jobs: - run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml -c phpunit.xml.legacy if: ${{ matrix.php < 7.3 }} - name: Check 100% code coverage + if: ${{ matrix.os != 'windows-2022' || matrix.php < 8.2 }} # temporarily skip coverage on Windows with PHP 8.2+ due to segfault with Xdebug 3.5.0-dev shell: php {0} run: |