File tree Expand file tree Collapse file tree 2 files changed +15
-29
lines changed Expand file tree Collapse file tree 2 files changed +15
-29
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ matrix:
14
14
- php : 7.2
15
15
- php : 7.3
16
16
- php : 7.4
17
+ - php : 8.0
17
18
env : REPORT_TESTS_COVERAGE=1
18
19
19
20
cache :
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit backupGlobals =" false"
3
- backupStaticAttributes =" false"
4
- bootstrap =" vendor/autoload.php"
5
- colors =" true"
6
- convertErrorsToExceptions =" true"
7
- convertNoticesToExceptions =" true"
8
- convertWarningsToExceptions =" true"
9
- processIsolation =" false"
10
- stopOnFailure =" false" >
11
- <testsuites >
12
- <testsuite name =" Feature Tests" >
13
- <directory suffix =" Test.php" >./tests/Feature</directory >
14
- </testsuite >
15
-
16
- <testsuite name =" Unit Tests" >
17
- <directory suffix =" Test.php" >./tests/Unit</directory >
18
- </testsuite >
19
- </testsuites >
20
- <filter >
21
- <whitelist processUncoveredFilesFromWhitelist =" true" >
22
- <directory suffix =" .php" >./src</directory >
23
- </whitelist >
24
- </filter >
25
- <logging >
26
- <log type =" coverage-clover" target =" coverage.xml" showUncoveredFiles =" true" />
27
- <log type =" coverage-html" target =" ./test-reports" charset =" UTF-8"
28
- yui =" true" highlight =" true"
29
- lowUpperBound =" 50" highLowerBound =" 80" />
30
- </logging >
2
+ <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" backupGlobals =" false" backupStaticAttributes =" false" bootstrap =" vendor/autoload.php" colors =" true" convertErrorsToExceptions =" true" convertNoticesToExceptions =" true" convertWarningsToExceptions =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd" >
3
+ <coverage >
4
+ <include >
5
+ <directory suffix =" .php" >src/</directory >
6
+ </include >
7
+ <report >
8
+ <clover outputFile =" tests/storage/logs/test-reports/clover.xml" />
9
+ <html outputDirectory =" tests/storage/logs/test-reports" lowUpperBound =" 50" highLowerBound =" 80" />
10
+ </report >
11
+ </coverage >
12
+ <testsuite name =" Unit Tests" >
13
+ <directory suffix =" Test.php" >./tests/Unit</directory >
14
+ </testsuite >
15
+ <logging />
31
16
</phpunit >
You can’t perform that action at this time.
0 commit comments