2013-10-05 23:12:31 +02:00
|
|
|
[tox]
|
2022-05-17 19:25:03 +02:00
|
|
|
envlist = py37, py38, py39, py310, flake8
|
2013-10-05 23:12:31 +02:00
|
|
|
|
|
|
|
[testenv]
|
2018-05-06 23:28:46 +02:00
|
|
|
setenv =
|
|
|
|
MOCK_REDIS = 1
|
2013-10-05 23:12:31 +02:00
|
|
|
commands =
|
2018-05-06 21:45:38 +02:00
|
|
|
pip install -r requirements.txt
|
2018-05-06 23:28:46 +02:00
|
|
|
pip install -r dev-requirements.txt
|
2018-05-08 03:35:31 +02:00
|
|
|
pytest --junitxml=junit-{envname}.xml --cov-report xml tests.py
|
2017-04-23 07:36:41 +02:00
|
|
|
|
2017-04-23 19:08:49 +02:00
|
|
|
[testenv:flake8]
|
2017-04-23 07:36:41 +02:00
|
|
|
commands =
|
2022-05-17 20:41:01 +02:00
|
|
|
pip install -r dev-requirements.txt
|
|
|
|
flake8
|