This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree 3 files changed +17
-34
lines changed
3 files changed +17
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ workflow "Testing" {
4
4
" phpcs" ,
5
5
" phpstan" ,
6
6
" codecoverage" ,
7
- " integration-test-run" ,
8
7
]
9
8
}
10
9
@@ -38,21 +37,27 @@ action "codecoverage" {
38
37
args = " -f clover-report.xml"
39
38
}
40
39
41
- action "integration-test-prepare" {
40
+ workflow "Integration test" {
41
+ resolves = [
42
+ " test" ,
43
+ ]
44
+ on = " push"
45
+ }
46
+
47
+ action "prepare" {
42
48
uses = " docker://bash"
43
49
runs = " sh -l -c"
44
50
args = [" sed -i 's/{GITHUB_SHA}/'\" $GITHUB_SHA\" '/' $GITHUB_WORKSPACE/tests-integration/composer.json" ]
45
- # args = ["REPLACEMENT=$(echo '/{GITHUB_SHA}/'$GITHUB_SHA'/g') && sed $REPLACEMENT tests-integration/composer.json"]
46
51
}
47
52
48
- action "integration-test- composer-install" {
53
+ action "composer-install" {
49
54
uses = " docker://composer"
50
- needs = [" integration-test- prepare" ]
55
+ needs = [" prepare" ]
51
56
args = " install --working-dir tests-integration"
52
57
}
53
58
54
- action "integration- test-run " {
59
+ action "test" {
55
60
uses = " docker://php:7.2"
56
- needs = [" integration-test- composer-install" ]
57
- args = " tests-integration/vendor/bin/phpstan analyse --no-progress --error-format=junit src"
61
+ needs = [" composer-install" ]
62
+ args = " tests-integration/vendor/bin/phpstan analyse --configuration tests-integration/phpstan.neon.dist -- no-progress --error-format=junit src"
58
63
}
Original file line number Diff line number Diff line change
1
+ parameters:
2
+ level: max
3
+ paths:
4
+ - src
You can’t perform that action at this time.
0 commit comments