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

run tests concurrently

parent 6e67c125
No related branches found
No related tags found
No related merge requests found
...@@ -8,18 +8,19 @@ max-line-length = 120 ...@@ -8,18 +8,19 @@ max-line-length = 120
[mypy] [mypy]
exclude = .tox exclude = .tox
[coverage:run]
concurrency = multiprocessing,thread
[testenv] [testenv]
deps = deps =
coverage pytest-xdist
pytest-cov
flake8 flake8
-r requirements.txt -r requirements.txt
commands = commands =
coverage erase coverage erase
coverage run --source compendium_v2 -m pytest {posargs} pytest -n auto --cov compendium_v2 --cov-fail-under=80 --cov-report html --cov-report xml --cov-report term -p no:checkdocs
coverage xml
coverage html
coverage report --fail-under 80
flake8 flake8
mypy {toxinidir}/compendium_v2/ {toxinidir}/test/ mypy {toxinidir}/compendium_v2/ {toxinidir}/test/
sphinx-build -M html docs/source docs/build -E 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