Also test plain ensurepip in smoke tests
This commit is contained in:
parent
6a9ffe6cb2
commit
450364614f
1 changed files with 5 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ METHOD=${METHOD:-venv}
|
|||
TOX=${TOX:-true}
|
||||
|
||||
# clean from possible older runs
|
||||
rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so || :
|
||||
rm -rf venv .tox __pycache__ .pytest* test_*.py *.pyx *.c *.so ensurepiptestroot || :
|
||||
|
||||
# check the we can create the venv
|
||||
if [ "$METHOD" == "venv" ]; then
|
||||
|
|
@ -87,6 +87,10 @@ set +u
|
|||
deactivate
|
||||
set -u
|
||||
|
||||
# ensurepip test (when testing virtualenv, this was not covered)
|
||||
# with the main Python, this will say "Requirement already satisfied", but that's OK
|
||||
$PYTHON -m ensurepip --root ensurepiptestroot
|
||||
|
||||
# use it with tox
|
||||
[[ "$TOX" != "true" ]] && exit 0
|
||||
if [[ $PYTHON == python* ]]; then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue