From 9465ca88ebb87c28b54fc3c7409e8f9e8d68f6d6 Mon Sep 17 00:00:00 2001 From: Jakub Caban Date: Thu, 21 Dec 2023 12:29:29 +0100 Subject: [PATCH] Don't try to send coverage for PHP 8.1 and 8.2 too --- .github/workflows/test.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 7af7800..add13d5 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -91,7 +91,7 @@ jobs: run: vendor/bin/phpunit --coverage-clover build/coverage-clover.xml - name: Send coverage results to Scrutinizer CI - if: matrix.php != '8.0' + if: matrix.php != '8.0' and matrix.php != '8.1' and matrix.php != '8.2' run: | wget https://scrutinizer-ci.com/ocular.phar php ocular.phar code-coverage:upload --format=php-clover build/coverage-clover.xml @@ -101,7 +101,7 @@ jobs: COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} COVERALLS_PARALLEL: true COVERALLS_FLAG_NAME: 'PHP ${{ matrix.php }} + ${{ matrix.symfony }}' - if: matrix.php != '8.0' + if: matrix.php != '8.0' and matrix.php != '8.1' and matrix.php != '8.2' run: | composer global require php-coveralls/php-coveralls php-coveralls -x build/coverage-clover.xml -o build/coveralls-upload.json -v