Gate deploys on backend tests and frontend typecheck; record Phase 1
All checks were successful
Deploy to VPS / test (push) Successful in 1m51s
Deploy to VPS / deploy (push) Successful in 1m4s

The new test job runs the 55-test pytest suite and pnpm typecheck
before the deploy job (needs: test) — a red suite now blocks prod.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Carlos Escalante
2026-06-09 20:59:34 -06:00
parent 49b96ed49c
commit 881d879ed1
2 changed files with 40 additions and 3 deletions

View File

@@ -5,8 +5,29 @@ on:
branches: [main]
jobs:
test:
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Backend tests
run: |
cd backend
python3 -m venv /tmp/test-venv
/tmp/test-venv/bin/pip install --quiet -r requirements.txt -r requirements-dev.txt
/tmp/test-venv/bin/python -m pytest tests/ -q
- name: Frontend typecheck
run: |
cd frontend
corepack enable
pnpm install --frozen-lockfile
pnpm typecheck
deploy:
runs-on: self-hosted
needs: test
steps:
- uses: actions/checkout@v4