File tree Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Expand file tree Collapse file tree 1 file changed +11
-8
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,12 @@ jobs:
2626 - 5.4
2727 - 5.3
2828 steps :
29- - uses : actions/checkout@v2
29+ - uses : actions/checkout@v3
3030 - uses : shivammathur/setup-php@v2
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
@@ -44,10 +44,13 @@ jobs:
4444 runs-on : ubuntu-24.04
4545 continue-on-error : true
4646 steps :
47- - uses : actions/checkout@v2
48- - uses : azjezz/setup-hhvm@v1
47+ - uses : actions/checkout@v3
48+ - run : cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
49+ - name : Run HHVM Composer install
50+ uses : docker://hhvm/hhvm:3.30-lts-latest
4951 with :
50- version : lts-3.30
51- - run : composer self-update --2.2 # downgrade Composer for HHVM
52- - run : hhvm $(which composer) install
53- - run : hhvm vendor/bin/phpunit
52+ args : hhvm composer.phar remove react/mysql react/promise-timer --dev --no-interaction && hhvm composer.phar install
53+ - name : Run HHVM PHPUnit
54+ uses : docker://hhvm/hhvm:3.30-lts-latest
55+ with :
56+ args : hhvm vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments