From 72594a2e724a55ad1e35e414168e6d594925434b Mon Sep 17 00:00:00 2001 From: Jared King Date: Sat, 29 Jan 2022 19:59:49 -0600 Subject: [PATCH] adjust coveralls config --- .github/workflows/ci.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c12127d..35afb2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,13 +61,14 @@ jobs: run: | vendor/bin/phpunit - - name: Coveralls - if: ${{ github.event_name == 'push' }} + - name: Upload coverage results to Coveralls + if: ${{ github.event_name == 'push' && matrix.php-version == '7.4' }} env: COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} + continue-on-error: true run: | - # Only report on 7.4 - if [ "${{ matrix.php-version }}" == "7.4" ]; then (composer global require php-coveralls/php-coveralls && php-coveralls -v) || true; fi + composer global require php-coveralls/php-coveralls + php-coveralls -v phpstan: runs-on: ubuntu-latest