diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index e0d896a..f752d9d 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -41,6 +41,7 @@ jobs: - name: Upload coverage to Codecov uses: codecov/codecov-action@v5 with: + token: ${{ secrets.CODECOV_TOKEN }} files: ./coverage.xml fail_ci_if_error: false verbose: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 22df1b4..cd97177 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -46,4 +46,10 @@ jobs: composer update --prefer-dist --no-interaction - name: Run Pest tests - run: ./vendor/bin/pest + run: ./vendor/bin/pest --log-junit junit.xml + + - name: Upload test results to Codecov + if: ${{ !cancelled() }} + uses: codecov/test-results-action@v1 + with: + token: ${{ secrets.CODECOV_TOKEN }}