sdk tests dev dependency install

This commit is contained in:
phact 2025-12-18 17:21:24 -05:00
parent f8835df636
commit 0db50a2357

View file

@ -267,7 +267,7 @@ test-ci:
done; \ done; \
echo "Running Python SDK integration tests"; \ echo "Running Python SDK integration tests"; \
cd sdks/python && \ cd sdks/python && \
uv pip install -e ".[dev]" && \ uv sync --extra dev && \
OPENRAG_URL=http://localhost:3000 uv run pytest tests/test_integration.py -vv -s || TEST_RESULT=1; \ OPENRAG_URL=http://localhost:3000 uv run pytest tests/test_integration.py -vv -s || TEST_RESULT=1; \
cd ../..; \ cd ../..; \
echo "Running TypeScript SDK integration tests"; \ echo "Running TypeScript SDK integration tests"; \
@ -363,7 +363,7 @@ test-ci-local:
done; \ done; \
echo "Running Python SDK integration tests"; \ echo "Running Python SDK integration tests"; \
cd sdks/python && \ cd sdks/python && \
uv pip install -e ".[dev]" && \ uv sync --extra dev && \
OPENRAG_URL=http://localhost:3000 uv run pytest tests/test_integration.py -vv -s || TEST_RESULT=1; \ OPENRAG_URL=http://localhost:3000 uv run pytest tests/test_integration.py -vv -s || TEST_RESULT=1; \
cd ../..; \ cd ../..; \
echo "Running TypeScript SDK integration tests"; \ echo "Running TypeScript SDK integration tests"; \
@ -393,7 +393,7 @@ test-sdk:
@echo "Make sure OpenRAG backend is running at localhost:8000 (make backend)" @echo "Make sure OpenRAG backend is running at localhost:8000 (make backend)"
@echo "" @echo ""
@echo "Running Python SDK tests..." @echo "Running Python SDK tests..."
cd sdks/python && uv pip install -e ".[dev]" && OPENRAG_URL=http://localhost:8000 uv run pytest tests/test_integration.py -vv -s cd sdks/python && uv sync --extra dev && OPENRAG_URL=http://localhost:8000 uv run pytest tests/test_integration.py -vv -s
@echo "" @echo ""
@echo "Running TypeScript SDK tests..." @echo "Running TypeScript SDK tests..."
cd sdks/typescript && npm install && npm run build && OPENRAG_URL=http://localhost:8000 npm test cd sdks/typescript && npm install && npm run build && OPENRAG_URL=http://localhost:8000 npm test