Skip to content
Snippets Groups Projects
Commit 83969d6f authored by Bjarke Madsen's avatar Bjarke Madsen
Browse files

run tests concurrently

parent 6e67c125
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment