File tree Expand file tree Collapse file tree 3 files changed +25
-10
lines changed Expand file tree Collapse file tree 3 files changed +25
-10
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
15
+ - 8.1
13
16
- 8.0
14
17
- 7.4
15
18
- 7.3
@@ -21,11 +24,12 @@ jobs:
21
24
- 5.4
22
25
- 5.3
23
26
steps :
24
- - uses : actions/checkout@v2
25
- - name : Setup PHP
27
+ - uses : actions/checkout@v3
26
28
uses : shivammathur/setup-php@v2
27
29
with :
28
30
php-version : ${{ matrix.php }}
31
+ coverage : xdebug
32
+ ini-file : development
29
33
- run : composer install
30
34
- run : vendor/bin/phpunit --coverage-text
31
35
if : ${{ matrix.php >= 7.3 }}
@@ -34,11 +38,16 @@ jobs:
34
38
35
39
PHPUnit-hhvm :
36
40
name : PHPUnit (HHVM)
37
- runs-on : ubuntu-18.04
41
+ runs-on : ubuntu-22.04
42
+ continue-on-error : true
38
43
steps :
39
- - uses : actions/checkout@v2
40
- - uses : azjezz/setup-hhvm@v1
44
+ - uses : actions/checkout@v3
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
41
48
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 4
4
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
5
xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
6
6
bootstrap =" vendor/autoload.php"
7
+ cacheResult =" false"
7
8
colors =" true"
8
- cacheResult = " false " >
9
+ convertDeprecationsToExceptions = " true " >
9
10
<testsuites >
10
11
<testsuite name =" Zenity React Test Suite" >
11
12
<directory >./tests/</directory >
16
17
<directory >./src/</directory >
17
18
</include >
18
19
</coverage >
20
+ <php >
21
+ <ini name =" error_reporting" value =" -1" />
22
+ </php >
19
23
</phpunit >
Original file line number Diff line number Diff line change 8
8
9
9
class FunctionalBaseZenTest extends TestCase
10
10
{
11
+ private $ loop ;
12
+
11
13
/**
12
14
* @before
13
15
*/
You can’t perform that action at this time.
0 commit comments