Skip to content

Commit

Permalink
Skip Windows in CI for PHP 8
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Jul 17, 2020
1 parent 7b3fb42 commit db07c9e
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ jobs:
script:
- "vendor/bin/phing tests"
- "vendor/bin/phing tests-fast-static-reflection"
exclude:
- operating-system: windows-latest
php-version: 8.0

steps:
- name: "Checkout"
Expand All @@ -180,7 +183,7 @@ jobs:
run: "composer update --no-interaction --no-progress --no-suggest"

- name: "Update PHPUnit"
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
if: (matrix.php-version == '7.4' || matrix.php-version == '8.0') && matrix.operating-system != 'windows-latest'
run: "composer remove --dev brianium/paratest && composer require --dev phpunit/phpunit:'^9.3' --update-with-dependencies"

- name: "Transform source code"
Expand Down Expand Up @@ -246,6 +249,9 @@ jobs:
- "vendor/bin/phing phpstan"
- "vendor/bin/phing phpstan-runtime-reflection"
- "vendor/bin/phing phpstan-static-reflection"
exclude:
- operating-system: windows-latest
php-version: 8.0

steps:
- name: "Checkout"
Expand All @@ -270,7 +276,7 @@ jobs:
run: "composer update --no-interaction --no-progress --no-suggest"

- name: "Update PHPUnit"
if: matrix.php-version == '7.4' || matrix.php-version == '8.0'
if: (matrix.php-version == '7.4' || matrix.php-version == '8.0') && matrix.operating-system != 'windows-latest'
run: "composer remove --dev brianium/paratest && composer require --dev phpunit/phpunit:'^9.3' --update-with-dependencies"

- name: "Transform source code"
Expand Down

0 comments on commit db07c9e

Please sign in to comment.