From c32dca15d141cde4a3cbb4b215ca6caaddafe70f Mon Sep 17 00:00:00 2001 From: Zach Sherman Date: Fri, 16 Feb 2024 11:17:25 -0600 Subject: [PATCH] CI: Update codecov.yml. (#800) * CI: Update codecov.yml. * CI: Remove token. * CI: Update to use token. --- .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 }}