From 6fb91c040a7f417fea2dcda0841f70476058f828 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Tue, 16 Jul 2024 10:06:47 -0400 Subject: [PATCH] also use venv coverage --- tox.ini | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index e214641e..5b56a3a3 100644 --- a/tox.ini +++ b/tox.ini @@ -36,13 +36,12 @@ commands_pre = [testenv:py3] deps = -r{toxinidir}/test-requirements.txt -allowlist_externals = coverage3 setenv = {[testenv]setenv} PYTHONPATH=.:plugins/hub/.:plugins/builder/.:plugins/cli/.:cli/.:www/lib commands_pre = {[testenv]commands_pre} - coverage3 erase --rcfile .coveragerc3 + python -m coverage erase --rcfile .coveragerc3 commands = python -m pytest -n auto --cov --cov-config .coveragerc3 --cov-report=html