From b48c86d8ec10d2659e72f47ab6166cf1fa13c6eb Mon Sep 17 00:00:00 2001 From: Colin O'Dell Date: Sat, 6 Jul 2024 09:29:53 -0400 Subject: [PATCH] Test on newer PHP versions --- .github/workflows/tests.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 17438e5..f6c15b9 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,17 +28,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php: ['7.2', '7.3', '7.4'] + php: ['7.2', '7.3', '7.4', '8.0', '8.1', '8.2', '8.3'] coverage: [pcov] composer-flags: [''] include: - php: '7.1' coverage: xdebug composer-flags: '' - - php: '8.0' - coverage: false - composer-flags: '--ignore-platform-req=php' - - php: '8.1' + - php: '8.4' coverage: false composer-flags: '--ignore-platform-req=php' @@ -56,7 +53,7 @@ jobs: - name: "Use PHPUnit 9.3+ on PHP 8.0 & PHP 8.1" run: composer require --no-update --dev phpunit/phpunit:^9.3 - if: "matrix.php == '8.0' || matrix.php == '8.1'" + if: "matrix.php == '8.0' || matrix.php == '8.1' || matrix.php == '8.2' || matrix.php == '8.3' || matrix.php == '8.4'" - run: composer update --no-progress ${{ matrix.composer-flags }}