addons_daily/tox.ini

24 строки
482 B
INI
Исходник Обычный вид История

2019-04-03 23:53:38 +03:00
# tox (https://tox.readthedocs.io/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
2019-04-03 23:55:50 +03:00
envlist = py27, py3
requires = pyspark
2019-05-16 00:59:05 +03:00
[pytest]
addopts =
--cov=addons_daily
2019-04-03 23:53:38 +03:00
[testenv]
deps =
pytest
2019-05-29 00:08:25 +03:00
python_moztelemetry
2019-05-16 00:59:05 +03:00
pytest-cov
2019-05-16 01:26:26 +03:00
py3: pytest-black
2019-04-03 23:53:38 +03:00
commands =
2019-05-16 00:59:05 +03:00
pytest \
2019-05-16 01:26:26 +03:00
py3: --black \
2019-05-16 00:59:05 +03:00
{posargs}