Skip to content

Commit

Permalink
github-actions: add codecov upload
Browse files Browse the repository at this point in the history
  • Loading branch information
miri64 committed Jul 7, 2020
1 parent 4b57c84 commit d6a343e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,7 @@ jobs:
pip install tox tox-gh-actions
- name: Test with tox
run: tox
- name: Upload to coverage
uses: codecov/[email protected]
with:
flags: ${{ matrix.python-version }}
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
[tool:pytest]
addopts = -v --junit-xml=test-report.xml
--doctest-modules
--cov=riotctrl --cov-branch
--cov-report=term --cov-report=xml --cov-report=html
--cov=riotctrl
--cov-report=term
--cov-report=term-missing
--cov-report=xml
testpaths = riotctrl

[lint]
Expand Down

0 comments on commit d6a343e

Please sign in to comment.