fix: limit vitest to one worker to avoid 100% CPU
CI / check (push) Successful in 36s
CI / tests-integration (push) Successful in 1m54s
CI / tests-quality (push) Successful in 49s
CI / tests-imaging-browsers (push) Successful in 1m35s
CI / tests-unit (push) Successful in 4m21s
CI / tests-ui (push) Successful in 4m54s
CI / preflight (push) Skipped
CI / deploy (push) Successful in 20s

This commit is contained in:
openhands committed 2026-10-23 14:21:23 +02:00
1 parent af67a28639
commit 4768b2b406
1 file changed
+2
+2
View File
@@ -27,6 +27,8 @@ export default defineConfig({
DATABASE_URL: "mysql://root:root@localhost:3306/test",
},
testTimeout: 10000,
maxWorkers: 1,
fileParallelism: false,
exclude: ["integration/**", "e2e/**", "node_modules/**", ".next/**"],
coverage: {
// Off unless asked for (`pnpm test:coverage` passes