Skip to content

Commit

Permalink
MNT use codecov action with token (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdoc authored Jun 21, 2024
1 parent f399b68 commit 96bb471
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,13 @@ jobs:
- name: Test with pytest
run: |
pip install -q pytest pytest-cov codecov
pip install -q pytest pytest-cov
pytest --cov=./
- name: Run codecov
run: |
codecov
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
env_vars: OS,PYTHON
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
verbose: false

0 comments on commit 96bb471

Please sign in to comment.