From 95f618ecbcb5b268b228d386cecb7e6cb75a8dcb Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Fri, 22 Mar 2024 13:31:11 -0700 Subject: [PATCH] Add CODECOV_TOKEN to GHA pytest-with-coverage workflow A CODECOV_TOKEN has been added to the pytest-with-coverage.yaml file in the .github workflows. This token is necessary for uploading coverage reports to codecov, and for codecov to add test coverage report comments to pull requests. --- .github/workflows/pytest-with-coverage.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pytest-with-coverage.yaml b/.github/workflows/pytest-with-coverage.yaml index 3c6d362..62a76f5 100644 --- a/.github/workflows/pytest-with-coverage.yaml +++ b/.github/workflows/pytest-with-coverage.yaml @@ -21,3 +21,5 @@ jobs: python-version: ${{ matrix.python-version }} conda-env-file: envs/environment-test.yaml conda-env-name: salishsea-cmd-test + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}