From 649172afaac19aa903569d12577f88e5b63fa677 Mon Sep 17 00:00:00 2001 From: Andrey Postal Date: Sat, 17 Aug 2024 19:33:49 -0300 Subject: [PATCH] Update tests.yml --- .github/workflows/tests.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0df131e..4d50415 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,10 +33,17 @@ jobs: run: "composer install" - name: "Run Tests" - run: "vendor/bin/phpunit --coverage-php /tmp/${{ github.sha }}_coverage.cov" + run: "vendor/bin/phpunit --coverage-clover /tmp/${{ github.sha }}_coverage.xml" - uses: "actions/upload-artifact@v4" with: name: "tests_coverage" - path: "/tmp/${{ github.sha }}_coverage.cov" + path: "/tmp/${{ github.sha }}_coverage.xml" retention-days: 1 + + - name: "Coveralls" + uses: "coverallsapp/github-action@v2" + with: + github-token: ${{ secrets.COVERALLS_REPO_TOKEN }} + file: "/tmp/${{ github.sha }}_coverage.xml" +