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__ rm -rf src/deltachat/__pycache__
export PYTHONDONTWRITEBYTECODE=1 export PYTHONDONTWRITEBYTECODE=1
# run tox # run tox -- the cricle-ci project envvar setting DCC_PY_LIVECONFIG
# XXX we don't run liveconfig tests because they hang sometimes # triggers running of "liveconfig" tests but for speed reasons
# see https://github.com/deltachat/deltachat-core-rust/issues/331 # we run them only for the highest python version we support
# unset DCC_PY_LIVECONFIG
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,py37,auditwheels -- -k "not qr" tox --workdir "$TOXWORKDIR" -e py37 -- -k "Online"
tox --workdir "$TOXWORKDIR" -e py35,py36,py37 -- -k "qr" unset DCC_PY_LIVECONFIG
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,py37,auditwheels -- -k "not Online"
popd popd
fi fi

View File

@@ -4,7 +4,7 @@ from deltachat import const
from conftest import wait_configuration_progress, wait_msgs_changed from conftest import wait_configuration_progress, wait_msgs_changed
class TestInCreation: class TestOnlineInCreation:
def test_forward_increation(self, acfactory, data, lp): def test_forward_increation(self, acfactory, data, lp):
ac1 = acfactory.get_online_configuring_account() ac1 = acfactory.get_online_configuring_account()
ac2 = acfactory.get_online_configuring_account() ac2 = acfactory.get_online_configuring_account()