tox-dev / tox-conda

Make tox cooperate with conda envs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parallel support

denkii opened this issue · comments

It seems like there are consistent InvalidArchiveError's when attempting to run tox-conda in parallel on Jenkins similar to the way tox advises it to be set up. As shown here: https://tox.readthedocs.io/en/latest/example/jenkins.html#running-tox-environments-in-parallel

It looks like conda install is not thread-safe. https://stackoverflow.com/a/58228286

Are there any workarounds for this? Is this a conda problem? Or maybe just user error?

You might be able to get around this by installing the dependencies before running the tests in parallel. e.g.,

tox --notest
tox -p auto

Looks like this workaround works. Thanks!