diff --git a/test/__init__.py b/test/__init__.py new file mode 100644 index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 diff --git a/tox.ini b/tox.ini index 4d1400a460c13450c3a4545da95f55b40edd8992..2048200ca807664178fa405de7335b3488d2c1f0 100644 --- a/tox.ini +++ b/tox.ini @@ -8,18 +8,19 @@ max-line-length = 120 [mypy] exclude = .tox +[coverage:run] +concurrency = multiprocessing,thread + [testenv] deps = - coverage + pytest-xdist + pytest-cov flake8 -r requirements.txt commands = coverage erase - coverage run --source compendium_v2 -m pytest {posargs} - coverage xml - coverage html - coverage report --fail-under 80 + pytest -n auto --cov compendium_v2 --cov-fail-under=80 --cov-report html --cov-report xml --cov-report term -p no:checkdocs flake8 mypy {toxinidir}/compendium_v2/ {toxinidir}/test/ sphinx-build -M html docs/source docs/build -E