Having a testenv in a tox.ini file, how do we execute bash commands?
[testenv:testenv_name]
description = testenv_description.
commands =
export ABC="123"
echo $ABC
Having a testenv in a tox.ini file, how do we execute bash commands?
[testenv:testenv_name]
description = testenv_description.
commands =
export ABC="123"
echo $ABC
Copyright © 2021 Jogjafile Inc.
Partial answer: Add the line allowlist_externals = /bin/bash. Then for calling the bash "commands", use /bin/ before the atual command; e.g.: /bin/echo.
Example:
However commands such as export do not seem to work.