File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -124,11 +124,12 @@ jobs:
124124 other-tests :
125125 name : " Other Tests"
126126
127- runs-on : " ubuntu-latest "
127+ runs-on : ${{ matrix.operating-system }}
128128
129129 strategy :
130130 fail-fast : false
131131 matrix :
132+ operating-system : [ubuntu-latest]
132133 php-version :
133134 - " 7.1"
134135 - " 7.2"
@@ -215,18 +216,27 @@ jobs:
215216 cd e2e/name-conflict
216217 composer install
217218 cp ../../phpstan vendor/bin/phpstan
218- vendor/bin/phpstan analyse -l 8 test.php
219+ vendor/bin/phpstan analyse -l 8 src/
219220 include :
220221 - php-version : 8.0
222+ operating-system : ubuntu-latest
221223 script : |
222224 cd e2e/union-type
223225 ../../phpstan analyse -l 8 test.php
224226 - php-version : 7.4
227+ operating-system : ubuntu-latest
225228 script : |
226229 cd e2e/phpstorm-stubs
227230 composer install --ignore-platform-reqs
228231 ../../phpstan analyse -l 8 test.php
229232 vendor/bin/phpunit ExampleTest.php
233+ - php-version : 7.4
234+ operating-system : windows-latest
235+ script : |
236+ cd e2e/name-conflict
237+ composer install
238+ cp ../../phpstan vendor/bin/phpstan
239+ vendor/bin/phpstan analyse -l 8 src/
230240
231241 steps :
232242 - name : " Checkout"
You can’t perform that action at this time.
0 commit comments