test(ci): gate deployments on MariaDB and Redis integration checks
This commit is contained in:
1 parent
966a925614
commit
422be3ce2d
8 files changed
+1312
-4
No files matched your search
@@ -0,0 +1,22 @@
|
||||
import { fileURLToPath } from "node:url";
|
||||
import { defineConfig } from "vitest/config";
|
||||
|
||||
export default defineConfig({
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": fileURLToPath(new URL("./src", import.meta.url)),
|
||||
"server-only": fileURLToPath(
|
||||
new URL("./src/test/server-only-stub.ts", import.meta.url),
|
||||
),
|
||||
},
|
||||
},
|
||||
test: {
|
||||
environment: "node",
|
||||
include: ["integration/**/*.test.ts"],
|
||||
fileParallelism: false,
|
||||
maxWorkers: 1,
|
||||
hookTimeout: 180_000,
|
||||
testTimeout: 60_000,
|
||||
coverage: { enabled: false },
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user