mirror of
https://github.com/langchain-ai/langgraph.git
synced 2026-10-17 05:35:31 +02:00
Run the test dev server on a supported interpreter
Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com>
This commit is contained in:
co-authored by
open-swe[bot] <open-swe@users.noreply.github.com>
parent
d9ca978a14
commit
d77099fd2c
@@ -43,9 +43,13 @@ start-services:
|
||||
stop-services:
|
||||
docker compose -f tests/compose-postgres.yml -f tests/compose-redis.yml down -v
|
||||
|
||||
DEV_SERVER_PYTHON ?= 3.12
|
||||
DEV_SERVER_ENV = $(CURDIR)/.venvs/dev-server
|
||||
|
||||
start-dev-server:
|
||||
uv sync --frozen --group test --no-dev
|
||||
@LOG_LEVEL=warning uv run --no-sync langgraph dev --config tests/example_app/langgraph.json --no-browser --no-reload & \
|
||||
UV_PROJECT_ENVIRONMENT=$(DEV_SERVER_ENV) uv sync --frozen --group test --no-dev --python $(DEV_SERVER_PYTHON)
|
||||
@LOG_LEVEL=warning UV_PROJECT_ENVIRONMENT=$(DEV_SERVER_ENV) uv run --no-sync --python $(DEV_SERVER_PYTHON) langgraph dev --config tests/example_app/langgraph.json --no-browser --no-reload & \
|
||||
PID=$$!; echo "$$PID" > .devserver.pid; \
|
||||
for ATTEMPT in $$(seq 1 60); do \
|
||||
if ! kill -0 $$PID 2>/dev/null; then break; fi; \
|
||||
|
||||
Reference in New Issue
Block a user