Skip to content

Commit

Permalink
update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MocioF committed Dec 21, 2023
1 parent 7b2acec commit 54465e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
matrix:
# See: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
wordpress-version: ['5.9', '6.0', '6.1']
wordpress-version: ['5.9', '6.0', '6.1', '6.2', '6.3', '6.4']
php-versions: ['7.4', '8.0', '8.1']
exclude:
- php-versions: '8.0'
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:

- name: Only for WP >= 5.9 Install Composer dependencies
# See: https://make.wordpress.org/core/2021/09/27/changes-to-the-wordpress-core-php-test-suite/
if: ${{ ( matrix.wordpress-version == '5.9' || matrix.wordpress-version == '6.0' || matrix.wordpress-version == '6.1' ) }}
if: ${{ ( matrix.wordpress-version == '5.9' || matrix.wordpress-version == '6.0' || matrix.wordpress-version == '6.1' || matrix.wordpress-version == '6.2' || matrix.wordpress-version == '6.3' || matrix.wordpress-version == '6.4' ) }}
run: (composer remove --dev phpunit/phpunit || true ) && composer update --dev yoast/phpunit-polyfills --with-dependencies && composer install --no-progress --prefer-dist --optimize-autoloader --ignore-platform-reqs

- name: When using PHP 8 and WP <= 5.8
Expand Down

0 comments on commit 54465e6

Please sign in to comment.