diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1b017dba8..515832ae4 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -77,7 +77,11 @@ jobs: - name: Setup Composer run: composer install - name: phpunit - run: vendor/bin/phpunit --configuration tests/phpunit_no_coverage.xml + run: vendor/bin/phpunit --coverage-clover tests/coverage.xml --configuration tests/phpunit_no_coverage.xml + - name: codecov + env: + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" + run: "bash <(curl -s https://codecov.io/bash) -f tests/coverage.xml" static-tests: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'NO_CI')"