From f1d1e9c997da52134a574a963ed6d1b404830ee0 Mon Sep 17 00:00:00 2001 From: Adam Turner <9087854+aa-turner@users.noreply.github.com> Date: Thu, 29 Dec 2022 14:50:24 +0000 Subject: [PATCH] Update coverage workflow for Tox 4 --- .github/workflows/coverage.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 4f41e60c3ce..1db73578c9f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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