diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 726e93559b..1c1c6132e9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -132,7 +132,7 @@ jobs: static-analysis: name: "PHPStan" - runs-on: "ubuntu-latest" + runs-on: ${{ matrix.operating-system }} strategy: matrix: @@ -141,6 +141,7 @@ jobs: - "7.2" - "7.3" - "7.4" + operating-system: [ubuntu-latest, windows-latest] steps: - name: "Checkout" @@ -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: @@ -180,6 +181,7 @@ jobs: - "7.2" - "7.3" - "7.4" + operating-system: [ubuntu-latest, windows-latest] steps: - name: "Checkout" diff --git a/.travis.yml b/.travis.yml index 6ed335d51d..9cac80a8c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -87,7 +87,6 @@ jobs: - export PATH=/c/tools/php:$PATH script: - vendor/bin/phing tests - - vendor/bin/phing phpstan cache: directories: