Skip to content

Commit 2be5a27

Browse files
committed
github-actions: add codecov upload
1 parent dcca00a commit 2be5a27

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/tox.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,7 @@ jobs:
2222
pip install tox tox-gh-actions
2323
- name: Test with tox
2424
run: tox
25+
- name: Upload to coverage
26+
uses: codecov/codecov-action@v1
27+
with:
28+
flags: ${{ matrix.python-version }}

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ deps =
2424
pytest
2525
pytest-cov
2626
commands =
27-
pytest
27+
pytest --cov=./
2828

2929
[testenv:lint]
3030
deps =

0 commit comments

Comments
 (0)