From 09cd930fa9ff55747f34c7184532a5a1bd2385b1 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Sun, 10 Dec 2023 21:43:19 +0100 Subject: [PATCH] Add PHP 8.2 and PHP 8.3 to CI --- .github/workflows/ci.yml | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8b80882..24994e6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,20 +13,11 @@ jobs: strategy: fail-fast: false - # Keys: - # - experimental: Whether the build is "allowed to fail". matrix: - php: ['7.1', '7.2', '7.3', '7.4', '8.0'] - experimental: [false] - - include: - - php: '8.1' - experimental: true + php: ['7.1', '7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] name: "PHP: ${{ matrix.php }}" - continue-on-error: ${{ matrix.experimental }} - steps: - name: Checkout code uses: actions/checkout@v3 @@ -41,15 +32,8 @@ jobs: # Install dependencies and handle caching in one go. # @link https://github.com/marketplace/actions/install-composer-dependencies - - name: "Install Composer dependencies (PHP < 8.1)" - if: ${{ matrix.php < '8.1' }} + - name: "Install Composer dependencies" uses: "ramsey/composer-install@v2" - - name: "Install Composer dependencies (PHP 8.1)" - if: ${{ matrix.php >= '8.1' }} - uses: "ramsey/composer-install@v2" - with: - composer-options: --ignore-platform-reqs - - name: Run unit tests run: vendor/bin/phpunit