Within a tox.ini
(tox 3.25.1) I am trying to run cd
to create a link
[testenv:docs]
commands =
make clean
make html SPHINXOPTS="-v"
cd build/html
ln -s ../../source/www/projects .
allowlist_externals =
make
/bin/bash
But neither
allowlist_externals =
/bin/bash
nor
allowlist_externals =
bash
nor
allowlist_externals =
cd
seem to work. I always get the error
ERROR: InvocationError for command could not find executable cd
So what is the trick? And where is it documented?
As this documentation seems to be outdated or incorrect.
The linked answer HERE seems to be completely unrelated. I do not want to change the directory in which tox is executed. Please read.