From 9b7b6c8826a05579dfb8fd016b642ce4f1304c63 Mon Sep 17 00:00:00 2001 From: Jakub Caban Date: Thu, 21 Dec 2023 13:36:21 +0100 Subject: [PATCH] Reenable code coverage upload --- .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 1dc2876..7b23fd6 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: false && matrix.php != '8.0' && matrix.php != '8.1' && matrix.php != '8.2' + if: matrix.php != '8.0' && matrix.php != '8.1' && 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: false && matrix.php != '8.0' && matrix.php != '8.1' && matrix.php != '8.2' + if: matrix.php != '8.0' && matrix.php != '8.1' && 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