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:
26
26
- 5.4
27
27
- 5.3
28
28
steps :
29
- - uses : actions/checkout@v2
29
+ - uses : actions/checkout@v3
30
30
- uses : shivammathur/setup-php@v2
31
31
with :
32
32
php-version : ${{ matrix.php }}
33
33
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
35
35
if : ${{ matrix.php == 5.3 }}
36
36
- run : composer install
37
37
- run : vendor/bin/phpunit --coverage-text
@@ -44,10 +44,13 @@ jobs:
44
44
runs-on : ubuntu-24.04
45
45
continue-on-error : true
46
46
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
49
51
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