feat: SDLC database separation for CI/testing #35
@@ -11,9 +11,9 @@ export default defineConfig({
|
|||||||
// Fail the build on CI if you accidentally left test.only in the source code.
|
// Fail the build on CI if you accidentally left test.only in the source code.
|
||||||
forbidOnly: !!process.env.CI,
|
forbidOnly: !!process.env.CI,
|
||||||
// Retry on CI only.
|
// Retry on CI only.
|
||||||
retries: process.env.CI ? 2 : 0,
|
retries: process.env.CI ? 1 : 0,
|
||||||
// Always run with 1 worker to avoid database conflicts
|
// Use 2 workers in CI for parallel project execution; 1 locally
|
||||||
workers: 1,
|
workers: process.env.CI ? 2 : 1,
|
||||||
// Reporter to use
|
// Reporter to use
|
||||||
reporter: 'html',
|
reporter: 'html',
|
||||||
// Global setup and teardown
|
// Global setup and teardown
|
||||||
|
|||||||
Reference in New Issue
Block a user