From a4c593fd88df90f9f0e54590c23b444ae6817a74 Mon Sep 17 00:00:00 2001 From: James Briggs <35938317+jamescalam@users.noreply.github.com> Date: Sat, 4 Jan 2025 12:42:42 +0400 Subject: [PATCH] feat: modify pytest to exit on first fail --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 30e1f6ad..624dc470 100644 --- a/Makefile +++ b/Makefile @@ -15,8 +15,8 @@ test: poetry run pytest -vv --cov=semantic_router --cov-report=term-missing --cov-report=xml test_functional: - poetry run pytest -vv -n 20 tests/functional + poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/functional test_unit: - poetry run pytest -vv -n 20 tests/unit + poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/unit test_integration: - poetry run pytest -vv -n 20 tests/integration \ No newline at end of file + poetry run pytest -vv --exitfirst --maxfail=1 --max-parallel=20 tests/integration -- GitLab