File tree 2 files changed +21
-7
lines changed
2 files changed +21
-7
lines changed Original file line number Diff line number Diff line change 35
35
run : vendor/bin/phpstan --memory-limit=512M analyze
36
36
37
37
- name : Unit testing
38
+ run : vendor/bin/phpunit --migrate-configuration
38
39
run : vendor/bin/phpunit
Original file line number Diff line number Diff line change 1
1
<?xml version =" 1.0" encoding =" UTF-8" ?>
2
- <phpunit xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" bootstrap =" vendor/autoload.php" backupGlobals =" false" colors =" true" processIsolation =" false" stopOnFailure =" false" xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/10.5/phpunit.xsd" cacheDirectory =" .phpunit.cache" backupStaticProperties =" false" >
2
+ <phpunit
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
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
+ xsi : noNamespaceSchemaLocation =" https://schema.phpunit.de/9.3/phpunit.xsd"
15
+ >
16
+ <coverage >
17
+ <include >
18
+ <directory suffix =" .php" >src/</directory >
19
+ </include >
20
+ </coverage >
3
21
<testsuites >
4
22
<testsuite name =" Unit" >
5
23
<directory suffix =" Test.php" >./tests/Unit</directory >
9
27
<env name =" DB_CONNECTION" value =" testing" />
10
28
<env name =" APP_KEY" value =" base64:2fl+Ktvkfl+Fuz4Qp/A75G2RTiWVA/ZoKZvp6fiiM10=" />
11
29
</php >
12
- <source >
13
- <include >
14
- <directory suffix =" .php" >src/</directory >
15
- </include >
16
- </source >
17
- </phpunit >
30
+ </phpunit >
You can’t perform that action at this time.
0 commit comments