Skip to content

Commit e4feb0d

Browse files
committed
github-actions: add codecov upload
1 parent b30f2cb commit e4feb0d

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
@@ -30,6 +30,10 @@ jobs:
3030
pip install tox tox-gh-actions
3131
- name: Test with tox
3232
run: tox
33+
- name: Upload to coverage
34+
uses: codecov/[email protected]
35+
with:
36+
flags: ${{ matrix.python-version }}
3337
- name: Publish package to PyPI
3438
uses: pypa/gh-action-pypi-publish@master
3539
if: >-

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
addopts = -v --junit-xml=test-report.xml
33
--doctest-modules
44
--cov=riotctrl --cov-branch
5-
--cov-report=term --cov-report=xml --cov-report=html
5+
--cov-report=term --cov-report=term-missing --cov-report=xml
66
testpaths = riotctrl
77

88
[lint]

0 commit comments

Comments
 (0)