From ac5f507e507121154915fd850da6c4b7246249b5 Mon Sep 17 00:00:00 2001 From: zssherman Date: Wed, 14 Feb 2024 14:15:32 -0600 Subject: [PATCH 1/3] CI: Update codecov.yml. --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b478c72225..57b04b4937 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,10 +64,12 @@ jobs: python -m pytest -v --mpl --cov=./ --cov-report=xml - name: Upload code coverage to Codecov - uses: codecov/codecov-action@v2.1.0 + uses: codecov/codecov-action@v4 with: file: ./coverage.xml flags: unittests env_vars: OS,PYTHON name: codecov-umbrella fail_ci_if_error: false + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From e9f93010130049ab29dba2ac6ca843f5b5086d7f Mon Sep 17 00:00:00 2001 From: zssherman Date: Wed, 14 Feb 2024 14:27:23 -0600 Subject: [PATCH 2/3] CI: Remove token. --- .github/workflows/ci.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 57b04b4937..7e19e8fd9c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,5 +71,3 @@ jobs: env_vars: OS,PYTHON name: codecov-umbrella fail_ci_if_error: false - env: - CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} From 4f3eb9d06a2a6bcfbc10d03b449ac7a8703df4bf Mon Sep 17 00:00:00 2001 From: zssherman Date: Thu, 15 Feb 2024 12:51:42 -0600 Subject: [PATCH 3/3] CI: Update to use token. --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e19e8fd9c..57b04b4937 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,3 +71,5 @@ jobs: env_vars: OS,PYTHON name: codecov-umbrella fail_ci_if_error: false + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}