Skip to content

Commit

Permalink
adjust coveralls config
Browse files Browse the repository at this point in the history
  • Loading branch information
jared-invoiced committed Jan 30, 2022
1 parent aac0def commit 72594a2
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 72594a2

Please sign in to comment.