Correctly determine toxenv for versioned PyPy

This commit is contained in:
Miro Hrončok 2021-08-10 14:53:33 +02:00
commit 853a1f50a3
2 changed files with 3 additions and 1 deletions

View file

@ -103,6 +103,8 @@ $PYTHON -m ensurepip --root ensurepiptestroot
[[ "$TOX" != "true" ]] && exit 0
if [[ $PYTHON == python* ]]; then
export TOXENV=py${VERSION/./}
elif [[ $PYTHON == pypy* ]]; then
export TOXENV=pypy${VERSION/./}
else
export TOXENV=$PYTHON
fi

View file

@ -48,7 +48,7 @@
run: VERSION=2.7 METHOD=virtualenv PYTHON=pypy ./venv.sh
- smokepypy3:
dir: smoke
run: VERSION=3.6 METHOD=venv PYTHON=pypy3 ./venv.sh
run: VERSION=3.7 METHOD=venv PYTHON=pypy3.7 ./venv.sh
- selftest37:
dir: selftest
run: VERSION=3.7 X="-x test_socket -x test_asyncgen -x test_asyncio -x test_compile -x test_concurrent_futures -x test_itertools -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_shutil -x test_time -x test_multiprocessing_spawn -x test_threading -x test_wsgiref" ./parallel.sh