This repository was archived by the owner on Jan 5, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ workflow "Testing" {
44 " phpcs" ,
55 " phpstan" ,
66 " codecoverage" ,
7- " integration-test-run" ,
87 ]
98}
109
@@ -38,21 +37,27 @@ action "codecoverage" {
3837 args = " -f clover-report.xml"
3938}
4039
41- action "integration-test-prepare" {
40+ workflow "Integration test" {
41+ resolves = [
42+ " test" ,
43+ ]
44+ on = " push"
45+ }
46+
47+ action "prepare" {
4248 uses = " docker://bash"
4349 runs = " sh -l -c"
4450 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"]
4651}
4752
48- action "integration-test- composer-install" {
53+ action "composer-install" {
4954 uses = " docker://composer"
50- needs = [" integration-test- prepare" ]
55+ needs = [" prepare" ]
5156 args = " install --working-dir tests-integration"
5257}
5358
54- action "integration- test-run " {
59+ action "test" {
5560 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"
5863}
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