mirror of
https://github.com/hwchase17/langchain.git
synced 2026-06-09 10:17:00 +00:00
chore(partners): standardize integration test invocation (#36958)
Standardize the `integration_tests` Makefile target across all 15 partner packages in `libs/partners/`, mirroring the deepagents `libs/evals` pattern (`-v --tb=short`). Previously each partner had its own ad-hoc flag stack (some missing `-n auto`, some with `-vvv`, others with nothing), and every partner that used `-n auto` was emitting a `PytestBenchmarkWarning` because `pytest-benchmark` is pulled in transitively via `langchain-tests` even though no partner has benchmark tests.
This commit is contained in:
@@ -10,11 +10,14 @@ UV_FROZEN = true
|
||||
TEST_FILE ?= tests/unit_tests/
|
||||
PYTEST_EXTRA ?=
|
||||
|
||||
integration_tests: TEST_FILE=tests/integration_tests/
|
||||
integration_test integration_tests: TEST_FILE=tests/integration_tests/
|
||||
|
||||
test integration_tests:
|
||||
test:
|
||||
uv run --group test --group test_integration pytest $(PYTEST_EXTRA) $(TEST_FILE)
|
||||
|
||||
integration_test integration_tests:
|
||||
uv run --group test --group test_integration pytest -v --tb=short -p no:benchmark -n auto $(PYTEST_EXTRA) $(TEST_FILE)
|
||||
|
||||
tests:
|
||||
uv run --group test pytest $(PYTEST_EXTRA) $(TEST_FILE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user