mirror of
https://github.com/chatmail/core.git
synced 2026-05-15 12:56:30 +03:00
refine python test run further
This commit is contained in:
@@ -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 -- the cricle-ci project envvar setting DCC_PY_LIVECONFIG
|
# run tox. The circle-ci project env-var-setting DCC_PY_LIVECONFIG
|
||||||
# triggers running of "liveconfig" tests but for speed reasons
|
# allows running of "liveconfig" tests but for speed reasons
|
||||||
# we run them only for the highest python version we support
|
# we run them only for the highest python version we support
|
||||||
|
|
||||||
tox --workdir "$TOXWORKDIR" -e py37 -- -k "Online"
|
tox --workdir "$TOXWORKDIR" -e py37
|
||||||
unset DCC_PY_LIVECONFIG
|
unset DCC_PY_LIVECONFIG
|
||||||
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,py37,auditwheels -- -k "not Online"
|
tox --workdir "$TOXWORKDIR" -e lint,py35,py36,auditwheels
|
||||||
popd
|
popd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -19,12 +19,12 @@ deps =
|
|||||||
pytest-rerunfailures
|
pytest-rerunfailures
|
||||||
pytest-timeout
|
pytest-timeout
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
auditwheel
|
|
||||||
pdbpp
|
pdbpp
|
||||||
requests
|
requests
|
||||||
|
|
||||||
[testenv:auditwheels]
|
[testenv:auditwheels]
|
||||||
skipsdist = True
|
skipsdist = True
|
||||||
|
deps = auditwheel
|
||||||
commands =
|
commands =
|
||||||
python tests/auditwheels.py {toxworkdir}/wheelhouse
|
python tests/auditwheels.py {toxworkdir}/wheelhouse
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user