Skip to content

Commit a515395

Browse files
committed
Run tests on PHP 8.4 and update test suite
1 parent fe0ac7e commit a515395

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
php-version: ${{ matrix.php }}
3333
coverage: xdebug
34-
- run: composer remove react/mysql --dev --no-interaction # do not install react/mysql example on legacy PHP
34+
- run: composer remove react/mysql react/promise-timer --dev --no-interaction # do not install incompatible packages on legacy PHP
3535
if: ${{ matrix.php == 5.3 }}
3636
- run: composer install
3737
- run: vendor/bin/phpunit --coverage-text
@@ -41,13 +41,17 @@ jobs:
4141

4242
PHPUnit-hhvm:
4343
name: PHPUnit (HHVM)
44-
runs-on: ubuntu-24.04
44+
runs-on: ubuntu-20.04 # Use older Ubuntu version for HHVM compatibility
4545
continue-on-error: true
4646
steps:
4747
- uses: actions/checkout@v2
48-
- uses: azjezz/setup-hhvm@v1
49-
with:
50-
version: lts-3.30
48+
- run: |
49+
sudo apt-get update
50+
sudo apt-get install -y software-properties-common apt-transport-https
51+
sudo apt-key add <(curl -s https://dl.hhvm.com/conf/hhvm.gpg.key)
52+
sudo add-apt-repository https://dl.hhvm.com/ubuntu
53+
sudo apt-get update
54+
sudo apt-get install -y hhvm
5155
- run: composer self-update --2.2 # downgrade Composer for HHVM
5256
- run: hhvm $(which composer) install
5357
- run: hhvm vendor/bin/phpunit

0 commit comments

Comments
 (0)