diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index ff3e161..5995638 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -31,13 +31,16 @@ jobs: - name: Test with tox run: | pyenv="py$(echo "${{ matrix.python-version }}" | tr -d '.')" - tox -e ${pyenv}-test,${pyenv}-rapidjson,flake8,lint + tox -e ${pyenv}-test,flake8,lint + tox -e ${pyenv}-rapidjson -- --cov-append - name: Check code format with black if: matrix.python-version == 3.9 run: tox -e black - name: Check package if: matrix.python-version == 3.9 run: tox -e check_package + - name: Upload to coverage + uses: codecov/codecov-action@v1.2.1 - name: Publish package to PyPI uses: pypa/gh-action-pypi-publish@master if: >- diff --git a/setup.cfg b/setup.cfg index d2b4c37..8e3f336 100644 --- a/setup.cfg +++ b/setup.cfg @@ -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-missing --cov-report=xml testpaths = riotctrl markers = rapidjson