From d526941f9eb70adca667255151a702b9d1d8d0d1 Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 24 Feb 2026 18:26:55 -0800 Subject: [PATCH] fix: exclude live API tests from CI test runs Live test files (*.live.test.ts) make real Anthropic API calls and are intended for manual validation only. Exclude them from the default vitest configuration to prevent flaky CI failures. Co-Authored-By: Claude Opus 4.6 --- packages/openai-adapters/vitest.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/openai-adapters/vitest.config.ts b/packages/openai-adapters/vitest.config.ts index 2185afe65..812ed4666 100644 --- a/packages/openai-adapters/vitest.config.ts +++ b/packages/openai-adapters/vitest.config.ts @@ -6,6 +6,7 @@ export default defineConfig({ globals: true, testTimeout: 10000, include: ["src/**/*.test.{ts,tsx}", "src/**/*.vitest.{ts,tsx}"], + exclude: ["src/**/*.live.test.{ts,tsx}", "node_modules"], }, resolve: { alias: {