From 53aada32e381b0dcf1534d26e9d483fe8919ad7b Mon Sep 17 00:00:00 2001 From: Jarek Tkaczyk Date: Sat, 5 Dec 2020 16:31:31 +0800 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 28d46f3..a811ee0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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