What's the best way to run tox inside a Python build step?
I'm trying to run steps like this in TeamCity:
virtualenv venv -p python2.7
. venv/bin/activate
pip install -r requirements.txt
tox -e py27-java
When I create a py2 environment, how can I actually run the tox command as part of a Python build step?
Please sign in to leave a comment.
Hello,
May i suggest you to run tox in a separate build step using the command line build runner?
https://www.jetbrains.com/help/teamcity/command-line.html
Thank you,
Guilherme