File tree Expand file tree Collapse file tree 3 files changed +14
-21
lines changed
Expand file tree Collapse file tree 3 files changed +14
-21
lines changed Original file line number Diff line number Diff line change 11version : 2.1
22
33orbs :
4- composer : stockfiller/composer@0.0.38
5- php-cs-fixer : stockfiller/php-cs-fixer@0.0.18
6- phpunit : stockfiller/phpunit@0.0.13
4+ composer : stockfiller/composer@2
5+ php-cs-fixer : stockfiller/php-cs-fixer@1
6+ phpunit : stockfiller/phpunit@1
77 php-coveralls : nekman/php-coveralls@0.0.5
88
99executors :
@@ -19,6 +19,8 @@ executors:
1919jobs :
2020 test_coverage :
2121 executor : php74
22+ environment :
23+ CLOVER_PATH : coverage/clover.xml
2224 steps :
2325 - run :
2426 name : Install PCOV and git
3032 - composer/install_bin
3133 - composer/install
3234 - phpunit/test :
33- flags : --coverage-clover coverage/clover.xml
35+ coverage : clover
36+ coverage-path : " ${CLOVER_PATH}"
37+ src-path : src
38+ test-path : tests
3439 - php-coveralls/upload :
35- clover-path : coverage/clover.xml
40+ clover-path : " ${CLOVER_PATH} "
3641
3742workflows :
3843 master :
@@ -52,6 +57,7 @@ workflows:
5257 - php-cs-fixer/fix :
5358 executor : php74
5459 rules : " @PSR2"
60+ path : .
5561 pre-steps :
5662 - run : apk add --update --no-cache git openssh-client
5763 - composer/install_bin
@@ -62,6 +68,7 @@ workflows:
6268 filters : *branch-filters
6369 requires : [ php-cs-fixer/fix ]
6470 - phpunit/test :
71+ test-path : tests
6572 matrix :
6673 parameters :
6774 executor :
Original file line number Diff line number Diff line change 4444 "php-coveralls/php-coveralls" : " ^2.1"
4545 },
4646 "scripts" : {
47- "test" : " phpunit"
47+ "test" : " phpunit tests" ,
48+ "lint" : " php-cs-fixer fix --rules=@PSR2 ."
4849 }
4950}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments