diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 15d7156..733ca14 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -77,6 +77,14 @@ jobs: with: github_token: ${{ secrets.GITHUB_TOKEN }} coverage_path: coverage.xml - threshold_alert: 3 - threshold_warning: 50 + threshold_alert: 80 + threshold_warning: 90 comment_mode: update + + - name: Upload Coverage to Codecov + if: ${{ success() }} + uses: codecov/codecov-action@v4 + with: + file: coverage.xml + flags: ${{ matrix.php }} + token: ${{ secrets.CODECOV_TOKEN }}