Skip to content

Commit

Permalink
Update Tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick authored May 22, 2022
1 parent bc538fc commit f32dd0f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@ jobs:
run: vendor/bin/phpunit -c phpunit.xml --verbose

- name: Upload Coveralls coverage
if: github.repository == 'Austinb/GameQ'
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: php vendor/bin/php-coveralls --coverage_clover=build/logs/clover.xml -v

- name: Upload Scrutinizer coverage
if: github.repository == 'Austinb/GameQ'
run: |
wget https://scrutinizer-ci.com/ocular.phar
php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml --revision=${{ github.event.pull_request.head.sha || github.sha }}

0 comments on commit f32dd0f

Please sign in to comment.