From 6f4fdf29c42fd7272105b7ec00a6b4d12d0ea5eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= Date: Thu, 4 Apr 2024 17:50:39 +0200 Subject: [PATCH] Allow testing virtualenv with --download --- smoke/venv.sh | 2 ++ tests.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/smoke/venv.sh b/smoke/venv.sh index 8c0d4c9..b6fb842 100755 --- a/smoke/venv.sh +++ b/smoke/venv.sh @@ -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 diff --git a/tests.yml b/tests.yml index b45e22b..137cf22 100644 --- a/tests.yml +++ b/tests.yml @@ -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'