From afa509613aebbd79e3fd09fe5b3263089ffba489 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 21 Jul 2025 10:28:47 +0200 Subject: [PATCH] Run tests under PHP 8.5 in CI --- .github/actions/ci-setup/action.yml | 2 +- .github/workflows/ci-db-tests.yml | 3 ++- .github/workflows/ci-tests.yml | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/actions/ci-setup/action.yml b/.github/actions/ci-setup/action.yml index 3a6a8642..b45fa6c2 100644 --- a/.github/actions/ci-setup/action.yml +++ b/.github/actions/ci-setup/action.yml @@ -43,5 +43,5 @@ runs: coverage: xdebug - name: Install dependencies if: ${{ inputs.install-deps == 'yes' }} - run: composer install --no-interaction --prefer-dist + run: composer install --no-interaction --prefer-dist ${{ inputs.php-version == '8.5' && '--ignore-platform-req=php' || '' }} shell: bash diff --git a/.github/workflows/ci-db-tests.yml b/.github/workflows/ci-db-tests.yml index cb7638be..82b08317 100644 --- a/.github/workflows/ci-db-tests.yml +++ b/.github/workflows/ci-db-tests.yml @@ -13,7 +13,8 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - php-version: ['8.3', '8.4'] + php-version: ['8.3', '8.4', '8.5'] + continue-on-error: ${{ inputs.php-version == '8.5' }} env: LC_ALL: C steps: diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index f0b7d847..9220573d 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -13,7 +13,8 @@ jobs: runs-on: ubuntu-24.04 strategy: matrix: - php-version: ['8.3', '8.4'] + php-version: ['8.3', '8.4', '8.5'] + continue-on-error: ${{ inputs.php-version == '8.5' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # rr get-binary picks this env automatically steps: