Allow testing virtualenv with --download

This commit is contained in:
Miro Hrončok 2024-04-04 17:50:39 +02:00
commit 6f4fdf29c4
2 changed files with 5 additions and 0 deletions

View file

@ -29,6 +29,8 @@ if [ "$METHOD" == "venv" ]; then
$PYTHON -m venv venv
elif [ "$METHOD" == "virtualenv" ]; then
virtualenv --python=$PYTHON venv
elif [ "$METHOD" == "virtualenv-download" ]; then
virtualenv --download --python=$PYTHON venv
elif [ "$METHOD" == "virtualenv-no-download" ]; then
virtualenv --no-download --python=$PYTHON venv
elif [ "$METHOD" == "virtualenv-seeder-pip" ]; then

View file

@ -54,6 +54,9 @@
- smoke310_optional:
dir: smoke
run: VERSION=3.10 METHOD=venv TOX=false INSTALL_OR_SKIP=true ./venv.sh
- smoke311_virtualenv_download:
dir: smoke
run: VERSION=3.10 METHOD=virtualenv-download TOX=false ./venv.sh
- smokepypy:
dir: smoke
run: runuser testuser -c 'VERSION=2.7 METHOD=virtualenv PYTHON=pypy ./venv.sh'