File tree Expand file tree Collapse file tree 4 files changed +30
-15
lines changed Expand file tree Collapse file tree 4 files changed +30
-15
lines changed Original file line number Diff line number Diff line change 66
77jobs :
88 PHPUnit :
9- runs-on : ubuntu-latest
9+ name : PHPUnit (PHP ${{ matrix.php }})
10+ runs-on : ubuntu-22.04
1011 strategy :
1112 matrix :
1213 php :
14+ - 8.3
15+ - 8.2
16+ - 8.1
1317 - 8.0
1418 - 7.4
1519 - 7.3
@@ -21,11 +25,11 @@ jobs:
2125 - 5.4
2226 - 5.3
2327 steps :
24- - uses : actions/checkout@v2
25- - name : Setup PHP
26- uses : shivammathur/setup-php@v2
28+ - uses : actions/checkout@v4
29+ - uses : shivammathur/setup-php@v2
2730 with :
2831 php-version : ${{ matrix.php }}
32+ coverage : xdebug
2933 - run : composer install
3034 - run : vendor/bin/phpunit --coverage-text
3135 if : ${{ matrix.php >= 7.3 }}
@@ -34,11 +38,16 @@ jobs:
3438
3539 PHPUnit-hhvm :
3640 name : PHPUnit (HHVM)
37- runs-on : ubuntu-18.04
41+ runs-on : ubuntu-22.04
42+ continue-on-error : true
3843 steps :
39- - uses : actions/checkout@v2
40- - uses : azjezz/setup-hhvm@v1
44+ - uses : actions/checkout@v4
45+ - run : cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
46+ - name : Run hhvm composer.phar install
47+ uses : docker://hhvm/hhvm:3.30-lts-latest
4148 with :
42- version : lts-3.30
43- - run : hhvm $(which composer) install
44- - run : hhvm vendor/bin/phpunit
49+ args : hhvm composer.phar install
50+ - name : Run hhvm vendor/bin/phpunit
51+ uses : docker://hhvm/hhvm:3.30-lts-latest
52+ with :
53+ args : hhvm vendor/bin/phpunit
Original file line number Diff line number Diff line change 2323 },
2424 "require-dev" : {
2525 "clue/hexdump" : " 0.2.*" ,
26- "phpunit/phpunit" : " ^9.3 ||^6.0 || ^5.7 || ^4.8.35 "
26+ "phpunit/phpunit" : " ^9.6 ||^6.0 || ^5.7 || ^4.8.36 "
2727 },
2828 "suggest" : {
2929 "ext-sockets" : " Requires PHP 5.4+ and the low level socket API for listening on multicast addresses (socket options to send IGMP announcements)"
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <!-- PHPUnit configuration file with new format for PHPUnit 9.3 + -->
4- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3 /phpunit.xsd"
3+ <!-- PHPUnit configuration file with new format for PHPUnit 9.6 + -->
4+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.6 /phpunit.xsd"
66 bootstrap =" vendor/autoload.php"
77 colors =" true"
88 cacheResult =" false" >
1616 <directory >./src/</directory >
1717 </include >
1818 </coverage >
19+ <php >
20+ <ini name =" error_reporting" value =" -1" />
21+ </php >
1922</phpunit >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" UTF-8" ?>
22
3- <!-- PHPUnit configuration file with old format for PHPUnit 9.2 or older -->
3+ <!-- PHPUnit configuration file with old format for legacy PHPUnit -->
44<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
55 xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/4.8/phpunit.xsd"
66 bootstrap =" vendor/autoload.php"
1515 <directory >./src/</directory >
1616 </whitelist >
1717 </filter >
18+ <php >
19+ <ini name =" error_reporting" value =" -1" />
20+ </php >
1821</phpunit >
You can’t perform that action at this time.
0 commit comments