X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Ftox-run.sh;h=b30ea67d9141efd433f30aad17f403c2215c69b8;hb=9268e4ab2c79a5605c59865ac5dd96231de75518;hp=4321ea68ba47760cb2ca104944d7bc8e8e1bf06c;hpb=30984640edc909df1527515c16bd1fd88f8b6eb5;p=releng%2Fglobal-jjb.git diff --git a/shell/tox-run.sh b/shell/tox-run.sh index 4321ea68..b30ea67d 100644 --- a/shell/tox-run.sh +++ b/shell/tox-run.sh @@ -21,6 +21,11 @@ ARCHIVE_DOC_DIR="$WORKSPACE/archives/docs" mkdir -p "$ARCHIVE_TOX_DIR" cd "$WORKSPACE/$TOX_DIR" || exit 1 +# shellcheck disable=SC1090 +source ~/lf-env.sh + +lf-activate-venv --venv-file /tmp/.toxenv tox virtualenv urllib3~=1.26.15 + if [[ -d /opt/pyenv ]]; then echo "---> Setting up pyenv" export PYENV_ROOT="/opt/pyenv"