Skip to content

Commit 85683bb

Browse files
committed
CI - run PHPStan on Windows
1 parent 54eb9ce commit 85683bb

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ jobs:
132132
static-analysis:
133133
name: "PHPStan"
134134

135-
runs-on: "ubuntu-latest"
135+
runs-on: ${{ matrix.operating-system }}
136136

137137
strategy:
138138
matrix:
@@ -141,6 +141,7 @@ jobs:
141141
- "7.2"
142142
- "7.3"
143143
- "7.4"
144+
operating-system: [ubuntu-latest, windows-latest]
144145

145146
steps:
146147
- name: "Checkout"
@@ -171,7 +172,7 @@ jobs:
171172
static-analysis-with-static-php-parser:
172173
name: "PHPStan with static PHP parser"
173174

174-
runs-on: "ubuntu-latest"
175+
runs-on: ${{ matrix.operating-system }}
175176

176177
strategy:
177178
matrix:
@@ -180,6 +181,7 @@ jobs:
180181
- "7.2"
181182
- "7.3"
182183
- "7.4"
184+
operating-system: [ubuntu-latest, windows-latest]
183185

184186
steps:
185187
- name: "Checkout"

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ jobs:
8787
- export PATH=/c/tools/php:$PATH
8888
script:
8989
- vendor/bin/phing tests
90-
- vendor/bin/phing phpstan
9190

9291
cache:
9392
directories:

0 commit comments

Comments
 (0)