Skip to content

Commit

Permalink
Make the tests fail if any warnings are printed
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Sep 18, 2018
1 parent b4842c1 commit 42042dd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ passenv =
ELASTICSEARCH_URL
PYTEST_ADDOPTS
commands =
coverage run --parallel --source h,tests/h -m pytest {posargs:tests/h/}
coverage run --parallel --source h,tests/h -m pytest -Werror {posargs:tests/h/}

[functional]
deps =
Expand All @@ -36,7 +36,7 @@ passenv =
ELASTICSEARCH_URL
TEST_DATABASE_URL
PYTEST_ADDOPTS
commands = pytest {posargs:tests/functional/}
commands = pytest -Werror {posargs:tests/functional/}

[testenv:functional]
deps = {[functional]deps}
Expand Down

0 comments on commit 42042dd

Please sign in to comment.