From 3777da33409c3dcd40e1051f5337d544c04a96c3 Mon Sep 17 00:00:00 2001 From: Andreas Heigl Date: Thu, 1 Aug 2024 19:06:30 +0200 Subject: [PATCH] SEnd coverage to coveralls where it actually belongs... --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b9faf0..35692d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,7 +41,9 @@ jobs: run: composer install - name: run testsuite run: ./vendor/bin/phpunit --testdox --colors=always --coverage-clover clover.xml - - name: upload to codecov - uses: codecov/codecov-action@v1 - with: - files: ./clover.xml + - name: Upload coverage results to Coveralls + env: + COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + composer global require php-coveralls/php-coveralls + php-coveralls --coverage_clover=clover.xml -v