From e186fac41ddbd90d724b0257aa74b61a662cff73 Mon Sep 17 00:00:00 2001 From: Erwin de Gelder Date: Wed, 5 Nov 2025 14:46:07 +0100 Subject: [PATCH] Ensure coverage can be measured. --- tox.ini | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tox.ini b/tox.ini index 69d62774..dc4ab284 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,8 @@ package = wheel setenv = PY_IGNORE_IMPORTMISMATCH=1 # https://github.com/pytest-dev/pytest/issues/2042 COVERAGE_FILE = reports{/}.coverage.{envname} + COVERAGE_PROCESS_START = {toxinidir}/pyproject.toml + PIP_PREFER_BINARY = True commands = # Run tests from .py files pytest --typeguard-packages=matplot2tikz --junitxml=reports/pytest.xml.{envname} {posargs}