Chore: Move to centos8-builder
[ci-management.git] / jjb / global-templates-python.yaml
index df37064..acf99bc 100644 (file)
@@ -63,7 +63,7 @@
           source ~/lf-env.sh
 
           lf-activate-venv --python python3.8 --venv-file /tmp/.toxenv \
-            tox tox-pyenv virtualenv
+            tox==3.27.1 tox-pyenv virtualenv argparse webtest
 
           if [[ -d /opt/pyenv ]]; then
             echo "---> Setting up pyenv"
             export TOX_TESTENV_PASSENV=PYTHONPATH
           fi
 
+          python -m pip install --upgrade pip
+
           # Useful debugging
           python --version
+          python -m pip freeze
           tox --version
 
+          cd $WORKSPACE/{path}
           tox
 
     publishers: