Skip to content

Commit f0e4d80

Browse files
authored
CI: fix pytest-cov + add codecov.io (#12)
1 parent 39f3a3f commit f0e4d80

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

‎.github/workflows/test.yml‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Pytest
1+
name: Test
22

33
on: [push, pull_request]
44

@@ -49,4 +49,9 @@ jobs:
4949
python -m pytest -v --tb=native tests \
5050
--doctest-modules \
5151
--junitxml=junit/test-results.xml \
52-
--cov=com --cov-report=xml --cov-report=html
52+
--cov=blockcopy --cov-report=xml --cov-report=html
53+
54+
- name: Upload coverage reports to Codecov
55+
uses: codecov/codecov-action@v5
56+
with:
57+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)