diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml index 222f522..cad6fa1 100644 --- a/.github/workflows/unit-test.yaml +++ b/.github/workflows/unit-test.yaml @@ -30,8 +30,9 @@ jobs: run: | poetry run pytest --cov=secured --cov-report=xml:coverage.xml tests/ - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v2 + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v4.0.1 with: + token: ${{ secrets.CODECOV_TOKEN }} file: ./coverage.xml fail_ci_if_error: true