From 199f6660d0caf0aa2baf80b85a9731766dc4b28a Mon Sep 17 00:00:00 2001 From: Hanne Moa Date: Tue, 21 Nov 2023 12:07:40 +0100 Subject: [PATCH] Debug tox environment --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index e5599c46e6..64245dcb7a 100644 --- a/tox.ini +++ b/tox.ini @@ -59,6 +59,9 @@ allowlist_externals = sed mkdir chmod + pwd + ls + echo usedevelop = true commands_pre = @@ -66,6 +69,10 @@ commands_pre = chmod 777 {toxinidir}/reports/coverage commands = + {unit,integration,functional}: pwd + {unit,integration,functional}: ls + {unit,integration,functional}: python3 -c "import sys; print('PYTHONPATH:', sys.path)" + unit: pytest -o junit_suite_name="{envname} unit tests" --cov-config {toxinidir}/tests/.coveragerc --cov={toxinidir}/python --cov-report=xml:reports/{envname}/coverage.xml --junitxml=reports/{envname}/unit-results.xml --verbose {posargs:tests/unittests} {integration,functional}: python setup.py build_sass