From 38167f545f9cead4566fd63dd9667fc5ff4b3433 Mon Sep 17 00:00:00 2001 From: Doug Latornell Date: Fri, 22 Mar 2024 12:50:12 -0700 Subject: [PATCH] Add CODECOV_TOKEN to GHA pytest-with-coverage workflow (#47) 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 0ce314f..6cd3cbb 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: environment-test.yaml conda-env-name: nemo-nowcast-test + secrets: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}