Skip to content
Snippets Groups Projects
Commit 5eebdf5a authored by James Briggs's avatar James Briggs
Browse files

feat: modify pytest to exit on first fail

parent a4c593fd
No related branches found
No related tags found
No related merge requests found
...@@ -12,11 +12,11 @@ lint lint_diff: ...@@ -12,11 +12,11 @@ lint lint_diff:
poetry run mypy $(PYTHON_FILES) poetry run mypy $(PYTHON_FILES)
test: test:
poetry run pytest -vv --cov=semantic_router --cov-report=term-missing --cov-report=xml poetry run pytest -vv --cov=semantic_router --cov-report=term-missing --cov-report=xml --exitfirst --maxfail=1
test_functional: test_functional:
poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/functional poetry run pytest -vv --exitfirst --maxfail=1 tests/functional
test_unit: test_unit:
poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/unit poetry run pytest -vv --exitfirst --maxfail=1 tests/unit
test_integration: test_integration:
poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/integration poetry run pytest -vv --exitfirst --maxfail=1 tests/integration
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment