From 543cf94f816449ef3949bf098c9a7999eb7683be Mon Sep 17 00:00:00 2001 From: Christian Clauss Date: Mon, 4 Mar 2024 19:26:39 +0100 Subject: [PATCH] GitHub Actions: Upgrade to codecov v4 --- .github/workflows/tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0a96194..18c621f 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,11 +33,12 @@ jobs: - name: Run tests and generate coverage report run: coverage run - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + uses: codecov/codecov-action@v4 with: + directory: ./coverage/reports/ env_vars: OS,PYTHON,DJANGO - name: codecov-umbrella fail_ci_if_error: true + flags: unittests + name: codecov-umbrella + token: ${{ secrets.CODECOV_TOKEN }} verbose: true