Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,15 @@ 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
if: ${{ matrix.php >= 7.3 }}
- 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: |
<?php
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy2website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

jobs:
Deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- run: |
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"}'