Skip to content

Commit 2291f2c

Browse files
committed
Update test environment and work around segfault with Xdebug 3.5.0-dev
1 parent 41006f1 commit 2291f2c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/ci.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,15 @@ jobs:
2828
- uses: shivammathur/setup-php@v2
2929
with:
3030
php-version: ${{ matrix.php }}
31-
coverage: xdebug
31+
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
3232
ini-file: development
3333
- run: composer install
3434
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml
3535
if: ${{ matrix.php >= 7.3 }}
3636
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml -c phpunit.xml.legacy
3737
if: ${{ matrix.php < 7.3 }}
3838
- name: Check 100% code coverage
39+
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
3940
shell: php {0}
4041
run: |
4142
<?php

.github/workflows/deploy2website.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
1010
Deploy:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- run: |
1414
curl -X POST -u ":${{ secrets.WEBSITE_PAT}}" -H "Accept: application/vnd.github.v3+json" https://api.github.com/repos/clue/framework-x-website/actions/workflows/ci.yml/dispatches -d '{"ref":"main"}'

0 commit comments

Comments
 (0)