File tree 3 files changed +23
-25
lines changed
3 files changed +23
-25
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ concurrency:
13
13
14
14
env :
15
15
# Cache params
16
- CACHE_VERSION : 2022061801 # To be able to create a new cache (YYYYMMDDXX)
16
+ CACHE_VERSION : 2022061901 # To be able to create a new cache (YYYYMMDDXX)
17
17
CI : ' true'
18
18
COVERAGE_OUTPUT_STYLE : clover
19
19
TEST_OUTPUT_STYLE : ' pretty'
44
44
runs-on : ubuntu-latest
45
45
strategy :
46
46
fail-fast : true
47
+ max-parallel : 4
47
48
matrix :
48
49
php-version :
49
50
- ' 7.2'
@@ -105,6 +106,7 @@ jobs:
105
106
runs-on : ubuntu-latest
106
107
strategy :
107
108
fail-fast : true
109
+ max-parallel : 4
108
110
matrix :
109
111
php-version :
110
112
- ' 7.2'
@@ -164,8 +166,11 @@ jobs:
164
166
name : Nightly / PHP ${{ matrix.php-version }} / Symfony ${{ matrix.symfony-version }}
165
167
needs : [ functional-tests ]
166
168
runs-on : ubuntu-latest
169
+ env :
170
+ COMPOSER_OPTIONS : ' --optimize-autoloader --ignore-platform-req=php+' # Ignore upper PHP bound requirement
167
171
strategy :
168
- fail-fast : true
172
+ fail-fast : false
173
+ max-parallel : 2
169
174
matrix :
170
175
exclude :
171
176
- php-version : ' 8.1' # Already done above
Original file line number Diff line number Diff line change 31
31
},
32
32
"require" : {
33
33
"php" : " ^7.2 || ^8.0" ,
34
- "yoanm/jsonrpc-server-sdk" : " ^3.0" ,
35
- "symfony/http-foundation" : " ^4.4 || ^5.4" ,
36
- "symfony/http-kernel" : " ^4.4 || ^5.4" ,
34
+ "psr/container" : " ^1.0" ,
37
35
"symfony/config" : " ^4.4 || ^5.4" ,
38
36
"symfony/dependency-injection" : " ^4.4 || ^5.4" ,
39
37
"symfony/event-dispatcher" : " ^4.4 || ^5.4" ,
40
38
"symfony/event-dispatcher-contracts" : " ^1.0 || ^2.0" ,
41
- "psr/container" : " ^1.0"
39
+ "symfony/http-foundation" : " ^5.4" ,
40
+ "symfony/http-kernel" : " ^5.4" ,
41
+ "yoanm/jsonrpc-server-sdk" : " ^3.0"
42
42
},
43
43
"require-dev" : {
44
44
"behat/behat" : " ~3.0" ,
51
51
"yoanm/php-unit-extended" : " ~1.0" ,
52
52
"phpspec/prophecy-phpunit" : " ^1.0 || ^2.0" ,
53
53
"dvdoug/behat-code-coverage" : " ^5.0"
54
+ },
55
+ "config" : {
56
+ "sort-packages" : true
54
57
}
55
58
}
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
-
3
2
<!-- https://phpunit.de/manual/current/en/appendixes.configuration.html -->
4
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
5
- xsi : noNamespaceSchemaLocation =" http://schema.phpunit.de/4.8/phpunit.xsd"
3
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
6
4
backupStaticAttributes =" false"
7
5
colors =" true"
8
6
processIsolation =" false"
9
-
10
7
stopOnRisky =" true"
11
8
stopOnError =" true"
12
9
stopOnFailure =" true"
13
-
14
10
convertErrorsToExceptions =" true"
15
11
convertNoticesToExceptions =" true"
16
12
convertWarningsToExceptions =" true"
17
-
18
13
beStrictAboutOutputDuringTests =" true"
19
14
beStrictAboutTestsThatDoNotTestAnything =" true"
20
15
beStrictAboutChangesToGlobalState =" true"
21
16
backupGlobals =" true"
22
-
23
17
forceCoversAnnotation =" true"
24
-
25
- bootstrap =" vendor/autoload.php"
26
- >
18
+ bootstrap =" vendor/autoload.php" >
19
+ <coverage >
20
+ <include >
21
+ <directory >src</directory >
22
+ </include >
23
+ </coverage >
27
24
<listeners >
28
25
<listener class =" Yoanm\PhpUnitExtended\Listener\YoanmTestsStrategyListener" />
29
26
</listeners >
30
-
31
27
<testsuites >
32
28
<testsuite name =" functional" >
33
- <directory >tests/Functional</directory >
29
+ <directory >tests/Functional/* </directory >
34
30
</testsuite >
35
31
<testsuite name =" technical" >
36
- <directory >tests/Technical</directory >
32
+ <directory >tests/Technical/* </directory >
37
33
</testsuite >
38
34
</testsuites >
39
-
40
- <filter >
41
- <whitelist >
42
- <directory >src</directory >
43
- </whitelist >
44
- </filter >
45
35
</phpunit >
You can’t perform that action at this time.
0 commit comments