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 Jan 22, 2021
1 parent 9148884 commit 82349b8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
run: |
pyenv="py$(echo "${{ matrix.python-version }}" | tr -d '.')"
tox -e ${pyenv},${{ matrix.tox-testenv }},flake8,lint
- name: Upload to coverage
uses: codecov/[email protected]
with:
flags: ${{ matrix.python-version }},${{ matrix.tox-testenv }}
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
if: >-
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
addopts = -v --junit-xml=test-report.xml
--doctest-modules
--cov=riotctrl --cov-branch
--cov-report=term --cov-report=xml --cov-report=html
--cov-report=term --cov-report=term-missing --cov-report=xml
testpaths = riotctrl
markers =
rapidjson
Expand Down

0 comments on commit 82349b8

Please sign in to comment.