Skip to content

Commit

Permalink
CI - run PHPStan on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Feb 14, 2020
1 parent 54eb9ce commit 85683bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ jobs:
static-analysis:
name: "PHPStan"

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

strategy:
matrix:
Expand All @@ -141,6 +141,7 @@ jobs:
- "7.2"
- "7.3"
- "7.4"
operating-system: [ubuntu-latest, windows-latest]

steps:
- name: "Checkout"
Expand Down Expand Up @@ -171,7 +172,7 @@ jobs:
static-analysis-with-static-php-parser:
name: "PHPStan with static PHP parser"

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

strategy:
matrix:
Expand All @@ -180,6 +181,7 @@ jobs:
- "7.2"
- "7.3"
- "7.4"
operating-system: [ubuntu-latest, windows-latest]

steps:
- name: "Checkout"
Expand Down
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ jobs:
- export PATH=/c/tools/php:$PATH
script:
- vendor/bin/phing tests
- vendor/bin/phing phpstan

cache:
directories:
Expand Down

0 comments on commit 85683bb

Please sign in to comment.