Skip to content

Commit

Permalink
Submit coverage to coveralls from GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
OndraM committed Oct 12, 2020
1 parent 47a0bac commit ebb43cc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,13 @@ jobs:
mkdir -p build/logs/
vendor/bin/phpunit --colors=always --coverage-clover build/logs/clover.xml
- name: Submit coverage to Coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
composer global require --dev php-coveralls/php-coveralls
~/.composer/vendor/bin/php-coveralls --coverage_clover=./build/logs/clover.xml -v
codestyle:
name: "Code style and static analysis"
runs-on: ubuntu-latest
Expand Down

0 comments on commit ebb43cc

Please sign in to comment.