Skip to content
Open
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
14 changes: 8 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@ jobs:
strategy:
matrix:
os:
- ubuntu-24.04
- ubuntu-26.04
- windows-2022
php:
- 8.6
- 8.5
- 8.4
- 8.3
Expand All @@ -30,14 +31,15 @@ jobs:
- 5.4
- 5.3
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- run: choco install vcredist2012 -y --no-progress
if: ${{ matrix.php >= 5.5 && matrix.php < 7.0 && matrix.os == 'windows-2022' }} # legacy PHP 5.5/5.6 on Windows needs VC 2012 pre-installed until https://github.com/mlocati/powershell-phpmanager/pull/142 is released
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: xdebug
ini-file: development
- run: composer config secure-http false && composer config repo.packagist composer http://packagist.org && composer config preferred-install source
if: ${{ matrix.php < 5.5 && matrix.os == 'windows-2022' }} # legacy PHP on Windows is allowed to use insecure downloads until it will be removed again
tools: ${{ matrix.php < 5.5 && matrix.os == 'windows-2022' && 'composer:2.2.30' || '' }} # legacy PHP < 5.5 on Windows crashes with Composer 2.2.31+ until https://github.com/composer/composer/issues/13276 is fixed
- run: composer install
- run: vendor/bin/phpunit --coverage-text
if: ${{ matrix.php >= 7.3 }}
Expand All @@ -47,10 +49,10 @@ jobs:

PHPUnit-hhvm:
name: PHPUnit (HHVM)
runs-on: ubuntu-24.04
runs-on: ubuntu-26.04
continue-on-error: true
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
- run: cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
- name: Run hhvm composer.phar install
uses: docker://hhvm/hhvm:3.30-lts-latest
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"require": {
"php": ">=5.3.0",
"evenement/evenement": "^3.0 || ^2.0 || ^1.0",
"react/event-loop": "^1.2",
"react/event-loop": "^1.6",
"react/stream": "^1.4"
},
"require-dev": {
Expand Down