From 0ffeb96b0b8a8b09e55a15b89d209fe1e0999397 Mon Sep 17 00:00:00 2001 From: Mike Cantelon Date: Thu, 11 Apr 2024 18:08:05 -0700 Subject: [PATCH] Update Codecov version (#306) --- .github/workflows/test.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e71d4136..0dbbcb52 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -52,7 +52,9 @@ jobs: tox -- --cov AIPscan --cov-config .coveragerc --cov-report xml:coverage.xml - name: "Upload coverage report" if: github.repository == 'artefactual-labs/AIPscan' - uses: "codecov/codecov-action@v1" + uses: "codecov/codecov-action@v4" + env: + CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}" with: files: ./coverage.xml fail_ci_if_error: true