ci: align vitest entrypoints with root config

This commit is contained in:
Peter Steinberger
2026-04-04 05:50:18 +01:00
parent 757a20b656
commit ca9d2f3b41
4 changed files with 10 additions and 9 deletions

View File

@@ -28,7 +28,7 @@ function runTests() {
const isolatedLock =
process.env.OPENCLAW_GATEWAY_LOCK ??
path.join(os.tmpdir(), `openclaw-gateway.lock.test.${Date.now()}`);
const result = spawnSync("pnpm", ["exec", "vitest", "run"], {
const result = spawnSync("pnpm", ["exec", "vitest", "run", "--config", "vitest.config.ts"], {
stdio: "inherit",
env: {
...process.env,