File tree Expand file tree Collapse file tree 3 files changed +43
-13
lines changed Expand file tree Collapse file tree 3 files changed +43
-13
lines changed Original file line number Diff line number Diff line change 52
52
if : ${{ matrix.dependencies == 'highest' }}
53
53
run : " composer update --no-interaction --no-progress"
54
54
55
- - name : " Tests"
55
+ - name : " Tests (lowest)"
56
+ if : ${{ matrix.dependencies == 'lowest' }}
57
+ run : " vendor/bin/phpunit --configuration phpunit9.xml.dist"
58
+
59
+ - name : " Tests (highest)"
60
+ if : ${{ matrix.dependencies == 'highest' }}
56
61
run : " vendor/bin/phpunit"
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
2
<phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd"
3
4
bootstrap =" vendor/autoload.php"
4
5
backupGlobals =" false"
5
- backupStaticAttributes =" false"
6
+ backupStaticProperties =" false"
6
7
colors =" true"
7
- verbose =" true"
8
- convertErrorsToExceptions =" true"
9
- convertNoticesToExceptions =" true"
10
- convertWarningsToExceptions =" true"
11
8
processIsolation =" false"
12
- stopOnFailure =" false"
13
- xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
9
+ stopOnFailure =" false" >
14
10
<coverage >
15
- <include >
16
- <directory suffix =" .php" >src/</directory >
17
- </include >
18
11
<report >
19
12
<clover outputFile =" build/logs/clover.xml" />
20
13
<html outputDirectory =" build/coverage" />
21
14
<text outputFile =" build/coverage.txt" />
22
15
</report >
23
16
</coverage >
24
- <source >
17
+ <source restrictDeprecations = " true " restrictNotices = " true " restrictWarnings = " true " >
25
18
<include >
26
- <directory suffix =" .php" >src</directory >
19
+ <directory suffix =" .php" >src/ </directory >
27
20
</include >
28
21
</source >
29
22
<testsuites >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.6/phpunit.xsd"
4
+ bootstrap =" vendor/autoload.php"
5
+ backupGlobals =" false"
6
+ backupStaticAttributes =" false"
7
+ colors =" true"
8
+ verbose =" true"
9
+ convertErrorsToExceptions =" true"
10
+ convertNoticesToExceptions =" true"
11
+ convertWarningsToExceptions =" true"
12
+ processIsolation =" false"
13
+ stopOnFailure =" false" >
14
+ <coverage >
15
+ <include >
16
+ <directory suffix =" .php" >src/</directory >
17
+ </include >
18
+ <report >
19
+ <clover outputFile =" build/logs/clover.xml" />
20
+ <html outputDirectory =" build/coverage" />
21
+ <text outputFile =" build/coverage.txt" />
22
+ </report >
23
+ </coverage >
24
+ <testsuites >
25
+ <testsuite name =" Omnipay Test Suite" >
26
+ <directory >tests</directory >
27
+ </testsuite >
28
+ </testsuites >
29
+ <logging >
30
+ <junit outputFile =" build/report.junit.xml" />
31
+ </logging >
32
+ </phpunit >
You can’t perform that action at this time.
0 commit comments