File tree Expand file tree Collapse file tree 3 files changed +102
-71
lines changed Expand file tree Collapse file tree 3 files changed +102
-71
lines changed Original file line number Diff line number Diff line change 1
1
all :
2
- composer qa-all
2
+ composer run-script qa-all --timeout=0
3
+
4
+ all-coverage :
5
+ composer run-script qa-all-coverage --timeout=0
3
6
4
7
ci :
5
- composer qa-ci
8
+ composer run-script qa-ci --timeout=0
9
+
10
+ ci-with-coverage :
11
+ composer run-script qa-ci-coverage --timeout=0
6
12
7
13
contrib :
8
- composer qa-contrib
14
+ composer run-script qa-contrib --timeout=0
9
15
10
16
init :
11
17
composer ensure-installed
14
20
composer cs
15
21
16
22
unit :
17
- composer unit
23
+ composer run-script unit --timeout=0
18
24
19
- mutation :
20
- composer mutation
25
+ unit-coverage :
26
+ composer run-script unit-coverage --timeout=0
21
27
22
28
ci-coverage : init
23
29
composer ci-coverage
30
+
31
+ mutation :
32
+ composer mutation
33
+
34
+ generate-test-resources : init
35
+ ./api-client-resource-generator ./tests/yaml/* ./tests/resources-src/ ./tests/resources-tests
Original file line number Diff line number Diff line change 28
28
"ApiClients\\ Tests\\ Tools\\ TestUtilities\\ " : " tests/"
29
29
}
30
30
},
31
+ "require-dev" : {
32
+ },
31
33
"config" : {
32
34
"sort-packages" : true
33
35
},
39
41
],
40
42
"unit" : [
41
43
" @ensure-installed" ,
42
- " phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml"
44
+ " phpunit --colors=always -c phpunit.xml.dist"
45
+ ],
46
+ "unit-coverage" : [
47
+ " @ensure-installed" ,
48
+ " phpunit --colors=always -c phpunit.xml.dist --coverage-text --coverage-html covHtml --coverage-clover ./build/logs/clover.xml"
43
49
],
44
50
"mutation" : [
45
51
" @ensure-installed" ,
52
58
"qa-all" : [
53
59
" @lint-php" ,
54
60
" @cs" ,
55
- " @unit" ,
56
- " @mutation"
61
+ " @unit"
62
+ ],
63
+ "qa-all-coverage" : [
64
+ " @lint-php" ,
65
+ " @cs" ,
66
+ " @unit-coverage"
57
67
],
58
68
"qa-windows" : [
59
69
" @lint-php" ,
63
73
"qa-ci" : [
64
74
" @qa-all"
65
75
],
76
+ "qa-ci-coverage" : [
77
+ " @qa-all-coverage"
78
+ ],
66
79
"qa-ci-windows" : [
67
80
" @qa-windows"
68
81
],
72
85
"ci-coverage" : [
73
86
" if [ -f ./build/logs/clover.xml ]; then wget https://scrutinizer-ci.com/ocular.phar && php ocular.phar code-coverage:upload --format=php-clover ./build/logs/clover.xml; fi"
74
87
]
75
- },
76
- "require-dev" : {
77
88
}
78
89
}
You can’t perform that action at this time.
0 commit comments