Skip to content
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
File tree Expand file tree Collapse file tree 3 files changed +25
-16
lines changed Expand file tree Collapse file tree 3 files changed +25
-16
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
PHPUnit :
9
- runs-on : ubuntu-latest
9
+ name : PHPUnit (PHP ${{ matrix.php }})
10
+ runs-on : ubuntu-22.04
10
11
strategy :
11
12
matrix :
12
13
php :
14
+ - 8.2
13
15
- 8.1
14
16
- 8.0
15
17
- 7.4
@@ -22,11 +24,11 @@ jobs:
22
24
- 5.4
23
25
- 5.3
24
26
steps :
25
- - uses : actions/checkout@v2
26
- - name : Setup PHP
27
- uses : shivammathur/setup-php@v2
27
+ - uses : actions/checkout@v3
28
+ - uses : shivammathur/setup-php@v2
28
29
with :
29
30
php-version : ${{ matrix.php }}
31
+ coverage : xdebug
30
32
- run : composer install
31
33
- run : vendor/bin/phpunit --coverage-text
32
34
if : ${{ matrix.php >= 7.3 }}
@@ -35,12 +37,16 @@ jobs:
35
37
36
38
PHPUnit-hhvm :
37
39
name : PHPUnit (HHVM)
38
- runs-on : ubuntu-18.04
40
+ runs-on : ubuntu-22.04
41
+ continue-on-error : true
39
42
steps :
40
- - uses : actions/checkout@v2
41
- - uses : azjezz/setup-hhvm@v1
43
+ - uses : actions/checkout@v3
44
+ - run : cp "$(which composer)" composer.phar && ./composer.phar self-update --2.2 # downgrade Composer for HHVM
45
+ - name : Run hhvm composer.phar install
46
+ uses : docker://hhvm/hhvm:3.30-lts-latest
42
47
with :
43
- version : lts-3.30
44
- - run : composer self-update --2.2 # downgrade Composer for HHVM
45
- - run : hhvm $(which composer) install
46
- - run : hhvm vendor/bin/phpunit
48
+ args : hhvm composer.phar install
49
+ - name : Run hhvm vendor/bin/phpunit
50
+ uses : docker://hhvm/hhvm:3.30-lts-latest
51
+ with :
52
+ args : hhvm vendor/bin/phpunit
Original file line number Diff line number Diff line change 15
15
"react/stream" : " ^1.2"
16
16
},
17
17
"require-dev" : {
18
- "react/event-loop " : " ^1.2 " ,
19
- "phpunit/phpunit " : " ^9.3 || ^5.7 || ^4.8.35 "
18
+ "phpunit/phpunit " : " ^9.5 || ^5.7 || ^4.8.35 " ,
19
+ "react/event-loop " : " ^1.2 "
20
20
},
21
21
"autoload" : {
22
22
"psr-4" : { "Clue\\ React\\ NDJson\\ " : " src/" }
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
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.5 + -->
4
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.5 /phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
7
7
cacheResult =" false"
8
8
colors =" true"
17
17
<directory >./src/</directory >
18
18
</include >
19
19
</coverage >
20
+ <php >
21
+ <ini name =" error_reporting" value =" -1" />
22
+ </php >
20
23
</phpunit >
You can’t perform that action at this time.
0 commit comments