Spaces:
Sleeping
Sleeping
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Install Python deps | |
| run: pip install -r requirements.txt | |
| - name: Run backend tests | |
| run: pytest | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20" | |
| - name: Install frontend deps | |
| run: npm --prefix frontend ci | |
| - name: Typecheck frontend | |
| run: npm --prefix frontend run typecheck | |
| - name: Build renderer | |
| run: npm --prefix frontend run build:renderer | |
| - name: Install Playwright browser | |
| run: npx --prefix frontend playwright install --with-deps chromium | |
| - name: Run E2E smoke | |
| run: npm --prefix frontend run test:e2e | |