From 1c427f7ecb26f0281745c0cf804d3e93f1fca441 Mon Sep 17 00:00:00 2001 From: William Patton Date: Fri, 29 Mar 2024 21:26:51 +0000 Subject: [PATCH] Add coveralls-repo-toke Also removes an unnecessary zip step since upload artefacts action already zips --- .github/workflows/code-coverage-and-coveralls.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/code-coverage-and-coveralls.yml b/.github/workflows/code-coverage-and-coveralls.yml index a74aed38..11b53244 100644 --- a/.github/workflows/code-coverage-and-coveralls.yml +++ b/.github/workflows/code-coverage-and-coveralls.yml @@ -39,10 +39,6 @@ jobs: - name: Run PHPUnit and generate reports in clover and html format run: ./vendor/bin/phpunit --coverage-clover=./coverage/clover.xml --coverage-html=./coverage/html - - name: Zip html coverage report - run: | - zip -r ./coverage/coverage-html.zip ./coverage/html - - name : Attach zipped coverage report as workflow artifact uses: actions/upload-artifact@v2 with: @@ -58,4 +54,5 @@ jobs: uses: coverallsapp/github-action@v2 with: github-token: ${{ secrets.GITHUB_TOKEN }} + coveralls-repo-token: ${{ secrets.COVERALLS_REPO_TOKEN }} path-to-lcov: ./coverage/coveralls.json