Skip to content

Commit

Permalink
Update integration tests to use WordPress 5.9
Browse files Browse the repository at this point in the history
  • Loading branch information
alecgeatches authored and GaryJones committed Apr 26, 2024
1 parent 48213c5 commit 8c72d73
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,18 @@ jobs:

strategy:
matrix:
wordpress: [ '5.7', '6.3' ]
php: [ '7.4', '8.0', '8.2' ]
wordpress: [ '5.9', '6.5' ]
php: [ '7.4', 'latest' ]
allowed_failure: [ false ]
include:
# Check upcoming WP.
- php: '8.2'
- php: 'latest'
wordpress: 'trunk'
allowed_failure: true
# Check upcoming PHP.
- php: '8.3'
- php: '8.4'
wordpress: 'latest'
allowed_failure: true
exclude:
# WordPress 5.7 doesn't support PHP 8.2.
- php: '8.2'
wordpress: '5.7'
fail-fast: false

steps:
Expand All @@ -43,11 +39,6 @@ jobs:
ini-values: ${{ matrix.ini-values }}
coverage: ${{ matrix.coverage }}

- name: Install PHPUnit 7.x for WP < 5.9
if: ${{ matrix.wordpress < 5.9 }}
# Ignore platform requirements, so that PHPUnit 7.5 can be installed on PHP 8.0 (and above).
run: composer require --dev phpunit/phpunit:"^7.5" --ignore-platform-req=php+ --no-update --no-scripts --no-interaction

- name: Install Composer dependencies
uses: ramsey/composer-install@v2
with:
Expand Down

0 comments on commit 8c72d73

Please sign in to comment.