Skip to content

Commit fd2d4a1

Browse files
authored
Merge pull request #76 from UBC-MDS/fix/codecov-coverage
CI: Add Codecov coverage upload
2 parents 655d8c9 + cd8969c commit fd2d4a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/build.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,9 @@ jobs:
3131
3232
- name: Run tests with coverage
3333
run: |
34-
pytest --cov --cov-report=term --cov-branch
34+
pytest --cov --cov-report=term --cov-report=xml --cov-branch
35+
36+
- name: Upload coverage reports to Codecov
37+
uses: codecov/codecov-action@v5
38+
with:
39+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)