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 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
@@ -41,13 +41,17 @@ jobs:
41
41
42
42
PHPUnit-hhvm :
43
43
name : PHPUnit (HHVM)
44
- runs-on : ubuntu-24 .04
44
+ runs-on : ubuntu-20 .04 # Use older Ubuntu version for HHVM compatibility
45
45
continue-on-error : true
46
46
steps :
47
47
- 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
51
55
- run : composer self-update --2.2 # downgrade Composer for HHVM
52
56
- run : hhvm $(which composer) install
53
57
- run : hhvm vendor/bin/phpunit
You can’t perform that action at this time.
0 commit comments