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

add coverage threshold back

parent ef84290a
No related branches found
No related tags found
1 merge request!16Parallel testing
[run]
concurrency=multiprocessing,thread
\ No newline at end of file
...@@ -5,6 +5,9 @@ envlist = py36 ...@@ -5,6 +5,9 @@ envlist = py36
exclude = venv,.tox,build exclude = venv,.tox,build
max-line-length = 120 max-line-length = 120
[coverage:run]
concurrency = multiprocessing,thread
[testenv] [testenv]
passenv = TEST_OPSDB_HOSTNAME,TEST_OPSDB_DBNAME,TEST_OPSDB_USERNAME,TEST_OPSDB_PASSWORD passenv = TEST_OPSDB_HOSTNAME,TEST_OPSDB_DBNAME,TEST_OPSDB_USERNAME,TEST_OPSDB_PASSWORD
deps = deps =
...@@ -16,7 +19,7 @@ deps = ...@@ -16,7 +19,7 @@ deps =
commands = commands =
coverage erase coverage erase
pytest -n auto --cov inventory_provider --cov-report html --cov-report xml --cov-report term -p no:checkdocs pytest -n auto --cov inventory_provider --cov-fail-under=80 --cov-report html --cov-report xml --cov-report term -p no:checkdocs
flake8 flake8
sphinx-build -M html docs/source docs/build sphinx-build -M html docs/source docs/build
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment