diff --git a/.github/workflows/codecov.yaml b/.github/workflows/codecov.yaml new file mode 100644 index 0000000..7ce1a82 --- /dev/null +++ b/.github/workflows/codecov.yaml @@ -0,0 +1,21 @@ +name: codecov + +on: + pull_request: + types: [opened] + +jobs: + codecov: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 + with: + token: ${{ secrets.CODECOV_TOKEN }} + fail_ci_if_error: false + verbose: true + flags: total