From c661f3ed23997ade522dbea0ace85fc356d3d9d0 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Mon, 15 Sep 2025 12:30:22 +0200 Subject: [PATCH] Run tests on PHP 8.4 and update test environment --- .github/workflows/ci.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0755cde8..280eb1a5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,10 +7,11 @@ on: jobs: PHPUnit: name: PHPUnit (PHP ${{ matrix.php }}) - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: php: + - 8.4 - 8.3 - 8.2 - 8.1 @@ -32,7 +33,7 @@ jobs: coverage: xdebug ini-file: development ini-values: disable_functions='' # do not disable PCNTL functions on PHP < 8.1 - extensions: sockets, pcntl ${{ matrix.php >= 5.6 && ', event' || '' }} ${{ matrix.php >= 5.4 && ', ev' || '' }} + extensions: sockets, pcntl ${{ matrix.php >= 5.6 && ', event' || '' }} ${{ matrix.php >= 5.4 && (matrix.php < 8.0 && ', ev-1.1.5' || ', ev') || '' }} env: fail-fast: true # fail step if any extension can not be installed - run: composer install @@ -43,11 +44,13 @@ jobs: PHPUnit-Unstable: name: PHPUnit (Unstable PHP ${{ matrix.php }}) - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 continue-on-error: true strategy: + fail-fast: false matrix: php: + - 8.4 - 8.3 - 8.2 - 8.1 @@ -109,8 +112,10 @@ jobs: runs-on: windows-2022 continue-on-error: true strategy: + fail-fast: false matrix: php: + - 8.4 - 8.3 - 8.2 - 8.1