From ac1c8ac98715ffb01f0edcf91c3ee720d69ae49a Mon Sep 17 00:00:00 2001 From: Reza Rahemtola Date: Fri, 6 Dec 2024 22:05:53 +0900 Subject: [PATCH] ci(pytest): Enable Codecov --- .github/workflows/pytest.yaml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pytest.yaml b/.github/workflows/pytest.yaml index e593143..ab77de4 100644 --- a/.github/workflows/pytest.yaml +++ b/.github/workflows/pytest.yaml @@ -27,9 +27,7 @@ jobs: - name: Run tests with coverage report run: poetry run pytest --cov-report=xml - # - name: Upload coverage to Codecov - # if: success() - # uses: codecov/codecov-action@v3 - # with: - # token: ${{ secrets.CODECOV_TOKEN }} - # files: ./coverage.xml + - name: Upload results to Codecov + uses: codecov/codecov-action@v5 + with: + token: ${{ secrets.CODECOV_TOKEN }}