File tree Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Expand file tree Collapse file tree 3 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 48
48
run : ./vendor/bin/parallel-lint --exclude vendor . --exclude git . --checkstyle | cs2pr
49
49
50
50
- name : ' Run unit tests'
51
- run : ./vendor/bin/ phpunit
51
+ run : composer phpunit
52
52
53
53
- name : ' Check var dump on own code'
54
54
run : ./var-dump-check src
Original file line number Diff line number Diff line change 24
24
"bin" : [" var-dump-check" ],
25
25
"replace" : {
26
26
"jakub-onderka/php-var-dump-check" : " *"
27
+ },
28
+ "scripts" : {
29
+ "phpunit" : [
30
+ " @php ./vendor/phpunit/phpunit/phpunit --no-coverage"
31
+ ],
32
+ "coverage" : [
33
+ " @php ./vendor/phpunit/phpunit/phpunit"
34
+ ]
35
+ },
36
+ "scripts-descriptions" : {
37
+ "phpunit" : " PHP unit" ,
38
+ "coverage" : " PHP unit with code coverage"
27
39
}
28
40
}
Original file line number Diff line number Diff line change 13
13
processIsolation =" false"
14
14
stopOnFailure =" false" >
15
15
16
+ <coverage >
17
+ <report >
18
+ <clover outputFile =" build/logs/clover.xml" />
19
+ <html outputDirectory =" build/coverage/" />
20
+ <text outputFile =" php://stdout" showOnlySummary =" true" />
21
+ </report >
22
+ </coverage >
23
+
16
24
<testsuites >
17
25
<testsuite name =" Default tests" >
18
26
<directory >tests</directory >
You can’t perform that action at this time.
0 commit comments