diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index 24bdfee..31e414e 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -71,7 +71,7 @@ jobs: strategy: matrix: wp-versions: [ 'latest' ] #[ '6.1.1', 'latest' ] - php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ] #[ '7.3', '7.4', '8.0', '8.1' ] + php-versions: [ '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3', '8.4', '8.5' ] #[ '7.3', '7.4', '8.0', '8.1' ] # Steps to install, configure and run tests steps: @@ -154,7 +154,7 @@ jobs: # Run Coding Standards on Tests. - name: Run PHP Coding Standards on Tests working-directory: ${{ env.PLUGIN_DIR }} - if: ${{ matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3' || matrix.php-versions == '8.4' }} + if: ${{ matrix.php-versions == '8.1' || matrix.php-versions == '8.2' || matrix.php-versions == '8.3' || matrix.php-versions == '8.4' || matrix.php-versions == '8.5' }} run: php vendor/bin/phpcs -q --standard=phpcs.tests.xml --report=checkstyle ./tests | cs2pr # Run WordPress Coding Standards on Plugin. diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 577c9d4..1f75b43 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -82,7 +82,7 @@ jobs: fail-fast: false matrix: wp-versions: [ 'latest' ] #[ '6.1.1', 'latest' ] - php-versions: [ '8.1', '8.2', '8.3', '8.4' ] #[ '7.3', '7.4', '8.0', '8.1' ] + php-versions: [ '8.2', '8.3', '8.4', '8.5' ] #[ '7.3', '7.4', '8.0', '8.1' ] # Folder names within the 'tests' folder to run tests in parallel. test-groups: [