From 31d02407e73c19a03c88fc81b52bc6f6d373c9f7 Mon Sep 17 00:00:00 2001 From: Mike Cantelon Date: Thu, 11 Apr 2024 17:22:17 -0700 Subject: [PATCH] Update Codecov version --- .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