From afb25eeec43472e6611924f2bd4915a74526b283 Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Tue, 23 Jan 2024 16:09:16 -0700 Subject: [PATCH] cli[patch]: add integration tests to default makefile (#16479) --- libs/cli/langchain_cli/integration_template/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libs/cli/langchain_cli/integration_template/Makefile b/libs/cli/langchain_cli/integration_template/Makefile index cf748963e22..bed6f5bda53 100644 --- a/libs/cli/langchain_cli/integration_template/Makefile +++ b/libs/cli/langchain_cli/integration_template/Makefile @@ -6,7 +6,9 @@ all: help # Define a variable for the test file path. TEST_FILE ?= tests/unit_tests/ -test: +integration_tests: TEST_FILE = tests/integration_tests/ + +test integration_tests: poetry run pytest $(TEST_FILE) tests: