Files
GearBox/e2e/start-test-server.sh
Jean-Luc Makiola 54614869cf
Some checks failed
CI / ci (push) Successful in 1m0s
CI / e2e (push) Failing after 8m39s
fix: migrate E2E tests from SQLite to Postgres
- Rewrite e2e/seed.ts to use postgres driver instead of bun:sqlite
- Add userId to all seeded entities (multi-user schema)
- Add Postgres service container to CI E2E job
- Remove DATABASE_PATH from test server start script
- Re-enable E2E job in CI

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-06 20:56:11 +02:00

5 lines
145 B
Bash
Executable File

#!/bin/sh
# Seed the test database, then start the production server
bun run e2e/global-setup.ts
NODE_ENV=production bun run src/server/index.ts