Skip to content

Commit 9542952

Browse files
authored
ci: upload test coverage to Codecov (#352)
1 parent 2b0da05 commit 9542952

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,7 @@ jobs:
2626
run: pip install tox tox-gh-actions
2727

2828
- name: Run tox
29-
run: tox
29+
run: tox -- --cov --cov-report=xml
30+
31+
- name: Upload coverage reports to Codecov
32+
uses: codecov/codecov-action@v3

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"coverage>=7.4,<7.5",
5555
"pylint>=3,<3.1",
5656
"pytest>=7.4,<7.5",
57+
"pytest-cov>=4.1.0,<4.2",
5758
"mypy>=1.8,<1.9",
5859
"types-python-dateutil",
5960
"types-requests",

0 commit comments

Comments
 (0)