mirror of
https://github.com/chatmail/core.git
synced 2026-05-19 14:56:33 +03:00
don't invoke py36/py35 anymore here.
This commit is contained in:
@@ -18,16 +18,15 @@ rm -rf tests/__pycache__
|
|||||||
rm -rf src/deltachat/__pycache__
|
rm -rf src/deltachat/__pycache__
|
||||||
export PYTHONDONTWRITEBYTECODE=1
|
export PYTHONDONTWRITEBYTECODE=1
|
||||||
|
|
||||||
# run tox. The circle-ci project env-var-setting DCC_PY_LIVECONFIG
|
# make sure we have proper settings to run Online tests
|
||||||
# allows running of "liveconfig" tests but for speed reasons
|
X=${DCC_PY_LIVECONFIG:?need env var to run Online tests}
|
||||||
# we run them only for the highest python version we support
|
|
||||||
|
|
||||||
|
# run python tests (tox invokes pytest to run tests in python/tests)
|
||||||
# we split out qr-tests run to minimize likelyness of flaky tests
|
# we split out qr-tests run to minimize likelyness of flaky tests
|
||||||
# (some qr tests are pretty heavy in terms of send/received
|
# (some qr tests are pretty heavy in terms of send/received
|
||||||
# messages and async-imap's likely has concurrency problems,
|
# messages and async-imap's likely has concurrency problems,
|
||||||
# eg https://github.com/async-email/async-imap/issues/4 )
|
# eg https://github.com/async-email/async-imap/issues/4 )
|
||||||
tox -e lint,py37 -- --reruns 3 -k "not qr"
|
tox -e lint,py37 -- --reruns 3 -k "not qr" tests/
|
||||||
tox -e py37 -- --reruns 5 -k "qr"
|
tox -e py37 -- --reruns 5 -k "qr" tests/
|
||||||
unset DCC_PY_LIVECONFIG
|
unset DCC_PY_LIVECONFIG
|
||||||
tox -p4 -e lint,py35,py36,doc
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user