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
|
2019-04-08 21:14:00 +03:00
|
|
|
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-16 00:59:05 +03:00
|
|
|
pytest-cov
|
|
|
|
#py3: pytest-black
|
2019-04-03 23:53:38 +03:00
|
|
|
commands =
|
2019-05-16 00:59:05 +03:00
|
|
|
pytest \
|
|
|
|
#py3: --black \
|
|
|
|
{posargs}
|