Skip to content

Commit 03c65a4

Browse files
committed
add code cov
1 parent 4172868 commit 03c65a4

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,11 @@ jobs:
113113

114114
- name: Run tests
115115
run: pytest
116+
117+
- name: Upload coverage to Codecov
118+
if: runner.os == 'Linux'
119+
uses: codecov/codecov-action@v5
120+
with:
121+
token: ${{ secrets.CODECOV_TOKEN }}
122+
files: ./coverage.xml
123+
fail_ci_if_error: true

0 commit comments

Comments
 (0)