Skip to content

Commit

Permalink
Update workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Apr 4, 2024
1 parent 84a1eaf commit 869f8c7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 60 deletions.
60 changes: 0 additions & 60 deletions .github/workflows/run_coverage.yml

This file was deleted.

12 changes: 12 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,15 @@ jobs:
- name: Run tests
run: |
pytest
- name: Generate coverage report
run: |
python -m coverage xml # codecov uploader requires xml format
python -m coverage report -m
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 869f8c7

Please sign in to comment.