Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,18 @@ jobs:
python -c "from app.graph import build_graph; print('✅ Graph OK')"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
LANGCHAIN_API_KEY: ${{ secrets.LANGCHAIN_API_KEY }}

- name: Verify API imports
run: |
python -c "from api.routes.health import router; print('✅ Health route OK')"
python -c "from api.routes.query import router; print('✅ Query route OK')"
python -c "from api.main import app; print('✅ FastAPI app OK')"
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
LANGCHAIN_API_KEY: ${{ secrets.LANGCHAIN_API_KEY }}

# ── Frontend import checks ─────────────────────────────────────────────────
frontend-checks:
Expand Down Expand Up @@ -133,6 +136,8 @@ jobs:
--name vaultmind-backend-test \
-p 8000:8000 \
-e OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }} \
-e PINECONE_API_KEY=${{ secrets.PINECONE_API_KEY }} \
-e LANGCHAIN_API_KEY=${{ secrets.LANGCHAIN_API_KEY }} \
ghcr.io/devdoshi19/vaultmind-backend:latest

echo "Waiting for backend to start..."
Expand Down
Loading