From 8ae552f37a41d6c7d568e332dc2aadcc12c6a043 Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Fri, 22 Mar 2024 13:27:04 -0700 Subject: [PATCH] Add CODECOV_TOKEN to GHA pytest-with-coverage workflow (#72) 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 64966cf..2c801be 100644 --- a/.github/workflows/pytest-with-coverage.yaml +++ b/.github/workflows/pytest-with-coverage.yaml @@ -18,3 +18,5 @@ jobs: python-version: ${{ matrix.python-version }} conda-env-file: envs/environment-test.yaml conda-env-name: salishsea-site-test + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}