ci: limit tox version used while running tests (#72165)
This commit is contained in:
parent
666ee5e9df
commit
39ccb8ce1a
|
@ -12,7 +12,7 @@ pipeline {
|
|||
sh "mkdir -p ${env.TMPDIR}"
|
||||
sh """
|
||||
virtualenv -p python3 ${env.TMPDIR}/venv/
|
||||
${env.TMPDIR}/venv/bin/pip install tox "virtualenv<=20.0.5" "importlib-resources<=1.0.2"
|
||||
${env.TMPDIR}/venv/bin/pip install "tox<4" "virtualenv<=20.0.5" "importlib-resources<=1.0.2"
|
||||
PGPORT=`python3 -c 'import struct; import socket; s=socket.socket(); s.setsockopt(socket.SOL_SOCKET, socket.SO_LINGER, struct.pack("ii", 1, 0)); s.bind(("", 0)); print(s.getsockname()[1]); s.close()'` pg_virtualenv -o fsync=off ${env.TMPDIR}/venv/bin/tox -r"""
|
||||
}
|
||||
post {
|
||||
|
|
Loading…
Reference in New Issue