diff --git a/tox.ini b/tox.ini index 869caf127d265a85be95bca984c1df81a0a1983d..7b407eabf1eae83c8ea482fb8b45a54b5fe49a4f 100644 --- a/tox.ini +++ b/tox.ini @@ -8,17 +8,15 @@ max-line-length = 120 [testenv] passenv = TEST_OPSDB_HOSTNAME,TEST_OPSDB_DBNAME,TEST_OPSDB_USERNAME,TEST_OPSDB_PASSWORD deps = - coverage + pytest-xdist + pytest-cov flake8 -r requirements.txt #install_command = pip install --pre --extra-index-url http://pip.geant.net/ --trusted-host pip.geant.net {opts} {packages} commands = coverage erase - coverage run --source inventory_provider -m pytest {posargs} - coverage xml - coverage html - coverage report --fail-under 80 + pytest -n auto --cov inventory_provider -p no:checkdocs flake8 sphinx-build -M html docs/source docs/build