Merge remote-tracking branch 'origin/wip/push-uncommitted' into fix/switch-to-npm-ci
This commit is contained in:
@@ -132,11 +132,11 @@ When a PR is merged to `main`:
|
||||
|
||||
## Database Configuration for CI
|
||||
|
||||
### SQLite for CI Acceptance Tests
|
||||
- **Why SQLite**: No database server required, perfect for CI environments
|
||||
- **Usage**: PR workflow runs acceptance tests with SQLite database
|
||||
- **Configuration**: `DATABASE_PROVIDER=sqlite`, `DATABASE_URL=file:./prisma/ci.db`
|
||||
- **Benefits**: Fast, isolated, no external dependencies
|
||||
### PostgreSQL for CI Acceptance Tests
|
||||
- **Why PostgreSQL**: Matches production database, catches PG-specific issues
|
||||
- **Usage**: PR workflow runs acceptance tests with PostgreSQL database
|
||||
- **Configuration**: `CI_DATABASE_URL` secret, set as `DATABASE_URL` env var
|
||||
- **Benefits**: Production-like environment, consistent with dev and prod
|
||||
|
||||
### PostgreSQL for Production
|
||||
- **Usage**: Release workflow runs tests in Docker with PostgreSQL
|
||||
|
||||
Reference in New Issue
Block a user