Skip to content

Commit

Permalink
Merge pull request #57 from Yoast/feature/ghaction-php-8.1-no-longer-…
Browse files Browse the repository at this point in the history
…allowed-to-fail

GH Actions: adjust matrix - add PHP 8.2, PHP 8.1 not allowed to fail
  • Loading branch information
jrfnl authored Sep 27, 2021
2 parents 15fbc3d + fb5882d commit ce8ae4a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

strategy:
matrix:
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0']
php: ['5.4', '5.5', '5.6', '7.0', '7.1', '7.2', '7.3', '7.4', '8.0', '8.1']
phpunit: ['auto']
experimental: [false]

Expand Down Expand Up @@ -51,7 +51,7 @@ jobs:
experimental: false

# Experimental builds.
- php: '8.1'
- php: '8.2'
phpunit: 'auto'
experimental: true

Expand Down Expand Up @@ -80,13 +80,13 @@ jobs:

# Install dependencies and handle caching in one go.
# @link https:/marketplace/actions/install-composer-dependencies
- name: Install Composer dependencies for PHP < 8.1
if: ${{ matrix.php < 8.1 }}
- name: Install Composer dependencies for PHP < 8.2
if: ${{ matrix.php < 8.2 }}
uses: "ramsey/composer-install@v1"

# For PHP 8.1 and above, we need to install with ignore platform reqs as not all dependencies allow it yet.
- name: Install Composer dependencies for PHP >= 8.1
if: ${{ matrix.php >= 8.1 }}
# For PHP 8.2 and above, we need to install with ignore platform reqs as not all dependencies allow it yet.
- name: Install Composer dependencies for PHP >= 8.2
if: ${{ matrix.php >= 8.2 }}
uses: "ramsey/composer-install@v1"
with:
composer-options: --ignore-platform-reqs
Expand Down

0 comments on commit ce8ae4a

Please sign in to comment.