phase9: migration test script + .gitignore cleanup + CI alembic migration gate
This commit is contained in:
@@ -42,6 +42,13 @@ check "Cross-Plugin Imports" "python3 scripts/check_cross_plugin_imports.py"
|
||||
# ── 3. Alembic Revision Graph ────────────────────────────────────────────────
|
||||
check "Alembic Revisions" "alembic heads 2>&1 | grep -c 'head' | grep -q '^1$'"
|
||||
|
||||
# ── 3b. Alembic Migration Test (only if DATABASE_URL is set) ──────────────────
|
||||
if [ -n "${DATABASE_URL:-}" ]; then
|
||||
check "Alembic Migration Test" "bash scripts/test_migrations.sh ${DATABASE_URL}"
|
||||
else
|
||||
echo -e "${YELLOW}[CI] SKIP: Alembic Migration Test (no DATABASE_URL)${NC}"
|
||||
fi
|
||||
|
||||
# ── 4. TypeScript Type Check ─────────────────────────────────────────────────
|
||||
check "TypeScript Type Check" "cd frontend && npx tsc --noEmit"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user