Skip to content

Commit

Permalink
Try integrate code coverage job.
Browse files Browse the repository at this point in the history
  • Loading branch information
hjerichen committed Jan 30, 2021
1 parent 3c40ae9 commit 7de8b8f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ jobs:
- name: Code coverage
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload coverage results to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v

0 comments on commit 7de8b8f

Please sign in to comment.