Skip to content

Commit

Permalink
Adding CODECOV secret env variable to CI actions
Browse files Browse the repository at this point in the history
  • Loading branch information
davidorme committed Sep 15, 2023
1 parent c19098f commit 6f21280
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/pyrealm_ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ jobs:
- name: Run tests
run: poetry run pytest

- name: Run codecov
- name: Upload coverage reports to Codecov
if: success() && (matrix.os == 'ubuntu-latest' && matrix.python-version == 3.9)
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

docs_build:
needs: qa
Expand Down

0 comments on commit 6f21280

Please sign in to comment.