diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c21d756..34aa4c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -105,13 +105,9 @@ jobs: - name: Run the unit tests with code coverage run: composer coverage - # Global install is used to prevent a conflict with the local composer.lock. - - name: Install Coveralls - if: ${{ success() }} - run: composer global require php-coveralls/php-coveralls:"^2.6.0" --no-interaction - - name: Upload coverage results to Coveralls if: ${{ success() }} - env: - COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: php-coveralls -v -x build/logs/clover.xml + uses: coverallsapp/github-action@v2 + with: + format: clover + file: build/logs/clover.xml