File tree Expand file tree Collapse file tree 2 files changed +15
-19
lines changed
Expand file tree Collapse file tree 2 files changed +15
-19
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 77 branches : [ master ]
88
99jobs :
10+ phpstan :
11+
12+ name : PHPStan
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - uses : actions/checkout@v2
17+ - uses : php-actions/composer@v5
18+
19+ - name : PHPStan Static Analysis
20+ uses : php-actions/phpstan@v3
21+ with :
22+ php_version : 7.4
23+ configuration : phpstan.neon
24+
1025 unit-tests :
1126
1227 name : Unit tests
@@ -90,24 +105,6 @@ jobs:
90105 - uses : actions/checkout@v2
91106 - uses : extdn/github-actions-m2/magento-mess-detector@master
92107
93- phpstan :
94- name : Magento 2 PHPStan
95- runs-on : ubuntu-latest
96- steps :
97- - uses : actions/checkout@v2
98- - uses : extdn/github-actions-m2/magento-phpstan@master
99- with :
100- composer_name : integer-net/magento2-shippingpreselection
101- # Note: module_source needs to be directory with composer.json, otherwise module is installed from github
102- # and phpstan runs on local directory with broken autoloading. So the following does NOT work:
103- #
104- # module_source: src
105- #
106- # A possible workaround is to modify the root composer autoload section in a preinstall script:
107- #
108- magento_preinstall_script : .github/autoload-tests.sh
109- env :
110- INPUT_MAGENTO_PRE_INSTALL_SCRIPT : .github/autoload-tests.sh
111108 publish-test-results :
112109 name : " Publish Tests Results"
113110 needs :
You can’t perform that action at this time.
0 commit comments