diff --git a/tox.ini b/tox.ini index 64245dcb7a..38e397711d 100644 --- a/tox.ini +++ b/tox.ini @@ -54,14 +54,15 @@ passenv = PGPASSWORD WORKSPACE DISPLAY + PATH allowlist_externals = sh sed mkdir chmod pwd - ls - echo + ls + which usedevelop = true commands_pre = @@ -71,7 +72,9 @@ commands_pre = commands = {unit,integration,functional}: pwd {unit,integration,functional}: ls + {unit,integration,functional}: which python3 {unit,integration,functional}: python3 -c "import sys; print('PYTHONPATH:', sys.path)" + {unit,integration,functional}: python3 -c "import os; print('PATH:', os.environ.get('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}