Skip to content

Commit

Permalink
feat: modify pytest to exit on first fail
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescalam committed Jan 4, 2025
1 parent a4c593f commit 5eebdf5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5eebdf5

Please sign in to comment.