Update coverage workflow for Tox 4

This commit is contained in:
Adam Turner 2022-12-29 14:50:24 +00:00
parent 66a738c2bf
commit f1d1e9c997

View File

@ -27,9 +27,10 @@ jobs:
run: python -m pip install -U pip tox pytest-cov
- name: Run Tox
run: tox --sitepackages -e py -- -vv
run: tox -e py -- -vv
env:
PYTEST_ADDOPTS: "--cov ./ --cov-append --cov-config pyproject.toml"
VIRTUALENV_SYSTEM_SITE_PACKAGES: "1"
- name: codecov
uses: codecov/codecov-action@v3