From 5eebdf5a8e30b7c1ca144effdb1658e17ab6509f Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:54:50 +0400 Subject: [PATCH] feat: modify pytest to exit on first fail --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 624dc470..8bc17e03 100644 --- a/Makefile +++ b/Makefile @@ -12,11 +12,11 @@ lint lint_diff: poetry run mypy $(PYTHON_FILES) 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: - poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/functional + poetry run pytest -vv --exitfirst --maxfail=1 tests/functional 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: - poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/integration + poetry run pytest -vv --exitfirst --maxfail=1 tests/integration -- GitLab