2014-02-21 11:34:22 -08:00
|
|
|
[tox]
|
2020-11-13 19:19:06 -08:00
|
|
|
envlist=py{35,36,37,38,39},flake8
|
2014-02-21 11:34:22 -08:00
|
|
|
|
|
|
|
[testenv]
|
|
|
|
deps = -r{toxinidir}/requirements.d/dev.txt
|
2018-09-17 03:01:25 -07:00
|
|
|
setenv = PYTHONPATH = {toxinidir}
|
2014-08-10 15:30:16 -07:00
|
|
|
# as we do not start the server that serves the selenium tests using the misc.
|
|
|
|
# python versions configured above (but manually with 1 specific python
|
|
|
|
# version), there is no point in running these tests with tox:
|
2018-09-17 06:27:13 -07:00
|
|
|
commands = pytest -m "not needs_server" --cov=bepasty --pyargs {posargs:bepasty.tests}
|
2014-02-21 11:34:22 -08:00
|
|
|
|
2018-09-17 02:12:51 -07:00
|
|
|
[testenv:flake8]
|
|
|
|
changedir =
|
|
|
|
deps = flake8
|
2018-09-17 06:27:13 -07:00
|
|
|
commands = flake8 src/ setup.py
|