File tree Expand file tree Collapse file tree 5 files changed +48
-14
lines changed Expand file tree Collapse file tree 5 files changed +48
-14
lines changed Original file line number Diff line number Diff line change 22
22
include :
23
23
- php-version : ' 8.0'
24
24
dependencies : ' lowest'
25
+ phpunit-config : ' phpunit-9.xml.dist'
25
26
- php-version : ' 8.0'
27
+ phpunit-config : ' phpunit-9.xml.dist'
26
28
- php-version : ' 8.1'
27
29
- php-version : ' 8.2'
28
30
- php-version : ' 8.3'
50
52
composer-options : --prefer-dist --no-suggest
51
53
52
54
- name : Execute test
53
- run : vendor/bin/phpunit --coverage-clover=coverage.clover
55
+ run : vendor/bin/phpunit --config ${{ matrix.phpunit-config || 'phpunit.xml.dist' }} -- coverage-clover=coverage.clover
54
56
55
57
- name : Coverage
56
58
if : ${{ matrix.coverage }}
Original file line number Diff line number Diff line change @@ -4,3 +4,4 @@ composer.phar
4
4
5
5
* .iml
6
6
.idea
7
+ .phpunit.cache
Original file line number Diff line number Diff line change 19
19
"require-dev" : {
20
20
"mikey179/vfsstream" : " ^1.6.7" ,
21
21
"psr/log" : " ^1.0 || ^2.0 || ^3.0" ,
22
- "phpunit/phpunit" : " ^9.5 || ^10 || ^11" ,
22
+ "phpunit/phpunit" : " ^9.6. 5 || ^10 || ^11" ,
23
23
"phpspec/prophecy-phpunit" : " ^2.0"
24
24
},
25
25
"autoload" : {
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+
3
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : noNamespaceSchemaLocation =" http://schema.phpunit.de/4.1/phpunit.xsd"
5
+ backupGlobals =" false"
6
+ colors =" true"
7
+ bootstrap =" vendor/autoload.php" >
8
+ <php >
9
+ <ini name =" error_reporting" value =" -1" />
10
+ <ini name =" date.timezone" value =" UTC" />
11
+ <env name =" SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT" value =" 1" />
12
+ <env name =" SYMFONY_PHPUNIT_REMOVE" value =" symfony/yaml" />
13
+ <env name =" SYMFONY_DEPRECATIONS_HELPER" value =" weak" />
14
+ </php >
15
+
16
+ <testsuites >
17
+ <testsuite name =" php-task Library Test Suite" >
18
+ <directory >./tests/</directory >
19
+ </testsuite >
20
+ </testsuites >
21
+
22
+ <filter >
23
+ <whitelist >
24
+ <directory >./</directory >
25
+ <exclude >
26
+ <directory >./vendor</directory >
27
+ <directory >./tests</directory >
28
+ </exclude >
29
+ </whitelist >
30
+ </filter >
31
+ </phpunit >
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
-
3
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
- xsi : noNamespaceSchemaLocation =" http ://schema.phpunit.de/4.1 /phpunit.xsd"
3
+ xsi : noNamespaceSchemaLocation =" https ://schema.phpunit.de/11.2 /phpunit.xsd"
5
4
backupGlobals =" false"
6
5
colors =" true"
7
6
bootstrap =" vendor/autoload.php" >
8
7
<php >
9
- <ini name =" error_reporting" value =" -1" />
10
- <ini name =" date.timezone" value =" UTC" />
8
+ <ini name =" error_reporting" value =" -1" />
9
+ <ini name =" date.timezone" value =" UTC" />
11
10
<env name =" SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT" value =" 1" />
12
11
<env name =" SYMFONY_PHPUNIT_REMOVE" value =" symfony/yaml" />
13
12
<env name =" SYMFONY_DEPRECATIONS_HELPER" value =" weak" />
19
18
</testsuite >
20
19
</testsuites >
21
20
22
- <filter >
23
- <whitelist >
21
+ <source >
22
+ <include >
24
23
<directory >./</directory >
25
- <exclude >
26
- <directory >./vendor</directory >
27
- <directory >./tests</directory >
28
- </exclude >
29
- </whitelist >
30
- </filter >
24
+ </include >
25
+
26
+ <exclude >
27
+ <directory >./vendor</directory >
28
+ <directory >./tests</directory >
29
+ </exclude >
30
+ </source >
31
31
</phpunit >
You can’t perform that action at this time.
0 commit comments