From 48125fefd1a55b40daee303920b909d1ec6d2b91 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 27 Sep 2021 11:41:14 +0200 Subject: [PATCH 1/2] GH Actions: build against PHP 8.1 is no longer allowed to fail The build against PHP 8.1 has been passing for a while and it should stay that way. --- .github/workflows/test.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6844fbc..495e6a8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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] @@ -51,10 +51,6 @@ jobs: experimental: false # Experimental builds. - - php: '8.1' - phpunit: 'auto' - experimental: true - - php: '8.0' phpunit: '^10.0' experimental: true From fb5882d766ff22cadb2da14cf10b8c7dbd4edf3b Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 27 Sep 2021 11:44:12 +0200 Subject: [PATCH 2/2] GH Actions: start testing against PHP 8.2 ... but allow for the builds to fail. --- .github/workflows/test.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 495e6a8..5c5e4a7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,6 +51,10 @@ jobs: experimental: false # Experimental builds. + - php: '8.2' + phpunit: 'auto' + experimental: true + - php: '8.0' phpunit: '^10.0' experimental: true @@ -76,13 +80,13 @@ jobs: # Install dependencies and handle caching in one go. # @link https://github.com/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