refactor: split smoke and integration test configs into separate CI jobs (#264)

* refactor: split smoke and integration test configs into separate CI jobs

* fix: move CLA labeling from triage to CLA workflow

* fix: install formatters in temp dir to avoid catalog: protocol error

* fix: handle 404 when removing labels that don't exist on the PR
This commit is contained in:
Matt Kane
2026-04-05 08:22:17 +01:00
committed by GitHub
parent c4977e1fd1
commit 5beb0ddc33
8 changed files with 97 additions and 71 deletions

View File

@@ -0,0 +1,14 @@
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
globals: true,
environment: "node",
include: ["tests/integration/cli/**/*.test.ts", "tests/integration/client/**/*.test.ts"],
// These tests boot real Astro dev servers in beforeAll hooks.
// Default hookTimeout (10s) is too short -- server startup +
// migrations + seed can take 30-60s.
testTimeout: 30_000,
hookTimeout: 120_000,
},
});