1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
[tox]
envlist = py{34,35,36,37,38,39}, flake8
[flake8]
max-line-length = 99
[testenv:flake8]
basepython = python
deps = flake8
commands = flake8 pyzipper
[testenv:full]
# use 'tox -e full' to run zipfile64 tests as well (takes long and needs 6GB drive space).
setenv = PYTHONPATH = {toxinidir}
passenv = *
deps = -r{toxinidir}/requirements_dev.txt
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile_aes.py test/test_zipfile2.py test/test_zipfile.py test/test_zipfile64.py
[testenv:aes_only]
# use 'tox -e aes_only' to to only test aes code.
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile_aes.py test/test_zipfile2.py
[testenv:zip_only]
# use 'tox -e zip_only' to to only test zip code.
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile.py
[testenv]
setenv = PYTHONPATH = {toxinidir}
passenv = *
deps = -r{toxinidir}/requirements_dev.txt
commands = pytest --cov=pyzipper --cov-config .coveragerc test/test_zipfile_aes.py test/test_zipfile2.py test/test_zipfile.py
|