From 54465e6e84f708c8965a1ed461ea8cb7b21b2785 Mon Sep 17 00:00:00 2001 From: Giuseppe Foti Date: Fri, 22 Dec 2023 00:29:15 +0100 Subject: [PATCH] update tests.yml --- .github/workflows/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 66a6e51..b122dfc 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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' @@ -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