Skip to content

Commit 7614f30

Browse files
committed
github-actions: add codecov upload
1 parent ee12bb5 commit 7614f30

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/tox.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ jobs:
3838
- name: Check package
3939
if: matrix.python-version == 3.9
4040
run: tox -e check_package
41+
- name: Upload to coverage
42+
uses: codecov/[email protected]
43+
with:
44+
files: coverage.xml
45+
flags: ${{ matrix.python-version }},${{ matrix.tox-testenv }}
4146
- name: Publish package to PyPI
4247
uses: pypa/gh-action-pypi-publish@master
4348
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-missing --cov-report=xml
66
testpaths = riotctrl
77
markers =
88
rapidjson

0 commit comments

Comments
 (0)