try optimize python run a little

This commit is contained in:
holger krekel
2019-09-19 11:24:21 +02:00
parent 30783adef2
commit bb23e1487d
2 changed files with 7 additions and 7 deletions

View File

@@ -36,13 +36,13 @@ if [ -n "$TESTS" ]; then
rm -rf src/deltachat/__pycache__
export PYTHONDONTWRITEBYTECODE=1
# run tox
# XXX we don't run liveconfig tests because they hang sometimes
# see https://github.com/deltachat/deltachat-core-rust/issues/331
# unset DCC_PY_LIVECONFIG
# run tox -- the cricle-ci project envvar setting DCC_PY_LIVECONFIG
# triggers running of "liveconfig" tests but for speed reasons
# we run them only for the highest python version we support
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,py37,auditwheels -- -k "not qr"
tox --workdir "$TOXWORKDIR" -e py35,py36,py37 -- -k "qr"
tox --workdir "$TOXWORKDIR" -e py37 -- -k "Online"
unset DCC_PY_LIVECONFIG
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,py37,auditwheels -- -k "not Online"
popd
fi