File tree 4 files changed +25
-21
lines changed
4 files changed +25
-21
lines changed Original file line number Diff line number Diff line change @@ -76,10 +76,12 @@ jobs:
76
76
redis_version : ' 6.0'
77
77
php_versions : ' 8.1'
78
78
laravel : ' ^9.0'
79
+ experimental : false
79
80
- operating_system : ubuntu-latest
80
81
redis_version : ' 6.0'
81
82
php_versions : ' 8.2'
82
83
laravel : ' ^10.0'
84
+ experimental : false
83
85
runs-on : ' ${{ matrix.operating_system }}'
84
86
services :
85
87
redis :
@@ -135,7 +137,7 @@ jobs:
135
137
REDIS_HOST : 127.0.0.1
136
138
REDIS_PORT : 6379
137
139
run : |
138
- ./vendor/bin/phpunit --verbose -- stderr --configuration phpunit.github.xml --coverage-clover build/logs/clover.xml --coverage-text
140
+ ./vendor/bin/phpunit --stderr --configuration phpunit.github.xml --coverage-clover build/logs/clover.xml --coverage-text
139
141
working-directory : ' ./'
140
142
- name : Upload coverage results to Coveralls
141
143
if : ${{ !matrix.experimental }}
Original file line number Diff line number Diff line change 38
38
},
39
39
"require-dev" : {
40
40
"umbrellio/code-style-php" : " ^1.0" ,
41
- "phpunit/phpunit" : " ^8.3|^9.0" ,
41
+ "phpunit/phpunit" : " ^8.3|^9.0|^10.0 " ,
42
42
"php-coveralls/php-coveralls" : " ^2.1" ,
43
43
"symplify/easy-coding-standard" : " ^9.3.15" ,
44
44
"orchestra/testbench" : " ^7.0|^8.0"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit bootstrap =" vendor/autoload.php"
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ bootstrap =" vendor/autoload.php"
3
4
colors =" true"
4
- convertErrorsToExceptions =" true"
5
- convertNoticesToExceptions =" false"
6
- convertWarningsToExceptions =" false"
7
5
processIsolation =" false"
8
- stopOnFailure =" false" >
6
+ stopOnFailure =" false"
7
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.0/phpunit.xsd"
8
+ cacheDirectory =" .phpunit.cache"
9
+ >
10
+ <coverage >
11
+ <include >
12
+ <directory suffix =" .php" >./src</directory >
13
+ </include >
14
+ </coverage >
9
15
<testsuites >
10
16
<testsuite name =" Test suite" >
11
17
<directory suffix =" Test.php" >./tests</directory >
12
18
</testsuite >
13
19
</testsuites >
14
- <filter >
15
- <whitelist processUncoveredFilesFromWhitelist =" true" >
16
- <directory suffix =" .php" >./src</directory >
17
- </whitelist >
18
- </filter >
19
20
</phpunit >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit bootstrap =" vendor/autoload.php"
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ bootstrap =" vendor/autoload.php"
3
4
colors =" true"
4
- convertErrorsToExceptions =" true"
5
- convertNoticesToExceptions =" true"
6
- convertWarningsToExceptions =" true"
7
5
processIsolation =" false"
8
- stopOnFailure =" false" >
9
- <filter >
10
- <whitelist processUncoveredFilesFromWhitelist =" true" >
6
+ stopOnFailure =" false"
7
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.0/phpunit.xsd"
8
+ cacheDirectory =" .phpunit.cache"
9
+ >
10
+ <coverage >
11
+ <include >
11
12
<directory suffix =" .php" >./src</directory >
12
- </whitelist >
13
- </filter >
13
+ </include >
14
+ </coverage >
14
15
<testsuites >
15
16
<testsuite name =" Test suite" >
16
17
<directory suffix =" Test.php" >./tests</directory >
You can’t perform that action at this time.
0 commit comments