File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments