Skip to content

Commit 6e8e21d

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

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci.yml

+4-1
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,22 @@ jobs:
2323
- 7.3
2424
- 7.2
2525
- 7.1
26+
fail-fast: false
2627
steps:
2728
- uses: actions/checkout@v4
2829
- uses: shivammathur/setup-php@v2
2930
with:
3031
php-version: ${{ matrix.php }}
31-
coverage: xdebug
32+
extensions: xdebug-stable # temporarily force stable Xdebug due to segfault with Xdebug 3.5.0-dev (ignored on Windows?)
33+
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
3234
ini-file: development
3335
- run: composer install
3436
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml
3537
if: ${{ matrix.php >= 7.3 }}
3638
- run: vendor/bin/phpunit --coverage-text --coverage-clover=clover.xml -c phpunit.xml.legacy
3739
if: ${{ matrix.php < 7.3 }}
3840
- name: Check 100% code coverage
41+
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
3942
shell: php {0}
4043
run: |
4144
<?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)