From b6638cb6da62e00deeb24c1a449b20c5588e3ed0 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Mon, 20 Nov 2023 03:57:35 +0100 Subject: [PATCH] 1.x | GH Actions: remove the trial run against PHPUnit 10 The 2.x series supports PHPUnit 10. This no longer needs to be tested on the 1.x branch. --- .github/workflows/test.yml | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 21c6164..d1336f9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -85,15 +85,6 @@ jobs: coverage: false experimental: true - - php: '8.1' - phpunit: '^10.0' - coverage: false - experimental: true - - php: '8.2' - phpunit: '^10.0' - coverage: false - experimental: true - name: "Tests: PHP ${{ matrix.php }} - PHPUnit: ${{matrix.phpunit}}" continue-on-error: ${{ matrix.experimental }} @@ -131,18 +122,13 @@ jobs: custom-cache-suffix: $(date -u "+%Y-%m") - name: Run the unit tests - if: ${{ matrix.coverage == false && matrix.phpunit != '^10.0' }} + if: ${{ matrix.coverage == false }} run: composer test - name: Run the unit tests with code coverage - if: ${{ matrix.coverage == true && matrix.phpunit != '^10.0' }} + if: ${{ matrix.coverage == true }} run: composer coverage - - name: Trial run the unit tests against PHPUnit 10.0 - if: ${{ matrix.phpunit == '^10.0' }} - continue-on-error: true - run: composer test - # Uploading the results with PHP Coveralls v1 won't work from GH Actions, so switch the PHP version. - name: Switch to PHP 7.4 if: ${{ success() && matrix.coverage == true && ( matrix.php == '5.4' || startsWith( matrix.php, '8' ) ) }}