From 8b6832a056e458c40a78a2f05190c11b827f8904 Mon Sep 17 00:00:00 2001 From: Joao Paulo Euko Date: Sun, 28 Apr 2024 08:45:20 +0000 Subject: [PATCH] update codecov --- .github/workflows/unit-test.yaml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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