Skip to content

Commit 2381524

Browse files
committed
github-actions: add codecov upload
1 parent 9148884 commit 2381524

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
@@ -33,6 +33,11 @@ jobs:
3333
run: |
3434
pyenv="py$(echo "${{ matrix.python-version }}" | tr -d '.')"
3535
tox -e ${pyenv},${{ matrix.tox-testenv }},flake8,lint
36+
- name: Upload to coverage
37+
uses: codecov/[email protected]
38+
with:
39+
files: coverage.xml
40+
flags: ${{ matrix.python-version }},${{ matrix.tox-testenv }}
3641
- name: Publish package to PyPI
3742
uses: pypa/gh-action-pypi-publish@master
3843
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
markers =
88
rapidjson

0 commit comments

Comments
 (0)