Skip to content

Commit

Permalink
Update tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jarektkaczyk committed Dec 5, 2020
1 parent 03aa19e commit 53aada3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ jobs:
dependency-version: [prefer-stable]

name: P${{ matrix.php }} - ${{ matrix.dependency-version }} - ${{ matrix.os }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- name: Checkout code
Expand All @@ -33,10 +35,10 @@ jobs:
- name: Install dependencies
run: |
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
composer require satooshi/php-coveralls:~0.6@stable
mkdir -p build/logs
- name: Execute tests
run: |
vendor/bin/phpunit --coverage-clover build/logs/clover.xml
vendor/bin/coveralls -v
composer global require php-coveralls/php-coveralls
php-coveralls --coverage_clover=build/logs/clover.xml -v

0 comments on commit 53aada3

Please sign in to comment.