Fix: Add missing fastmcp and mcp dependencies for GitHub Actions CI #44
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI/CD Pipeline | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| backend-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| cache: 'pip' | |
| cache-dependency-path: 'backend/requirements-ci.txt' | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r backend/requirements-ci.txt | |
| - name: Run Backend Tests | |
| run: pytest tests/ -v --tb=short | |
| env: | |
| GEMINI_API_KEY: "test-placeholder" | |
| GROQ_API_KEY: "test-placeholder" | |
| USE_MCP: "false" | |
| USE_FIREBASE: "false" | |
| ENVIRONMENT: "testing" | |
| frontend-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22' | |
| - name: Install Frontend Dependencies | |
| working-directory: ./frontend | |
| run: npm install --legacy-peer-deps | |
| - name: TypeScript Check | |
| working-directory: ./frontend | |
| run: npx tsc -b --noEmit | |
| - name: Build Frontend | |
| working-directory: ./frontend | |
| run: npm run build |