diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 31aefeb..7137026 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -30,3 +30,7 @@ jobs: pip install tox tox-gh-actions - name: Test with tox run: tox + - name: Upload to coverage + uses: codecov/codecov-action@v1.0.10 + with: + flags: ${{ matrix.python-version }} diff --git a/setup.cfg b/setup.cfg index 35ac90f..4fd6522 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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]