From d9f4cbcaa29274cc36033c6de61fc3d1fb41bf6f Mon Sep 17 00:00:00 2001 From: peter279k Date: Wed, 8 Apr 2020 01:08:55 +0800 Subject: [PATCH] Setup local env for coveralls.io --- .github/workflows/ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ea436e6..539ff70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,5 +25,8 @@ jobs: - name: Run tests run: ./vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml - - name: Code coverage uploading + - name: Send code clover file to coveralls.io run: ./vendor/bin/php-coveralls -v + env: + COVERALLS_RUN_LOCALLY: 1 + COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}