From efba4c259ba46077f71016fd13eb9f9eae84e053 Mon Sep 17 00:00:00 2001 From: Tianyi Cui <53024+tianyicui@users.noreply.github.com> Date: Tue, 21 Jul 2026 23:25:52 +0800 Subject: [PATCH] ci: split model and integration coverage --- .github/workflows/ci.yml | 9 +++++++-- scripts/coverage-shards.ts | 8 ++++++-- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9c5e5b0b3c..a296769bb4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -92,11 +92,16 @@ jobs: gate_concurrency: '1' coverage_max_workers: '4' coverage_shard: state-session - - lane: coverage-models-integrations + - lane: coverage-models command: pnpm run check:ci:coverage gate_concurrency: '1' coverage_max_workers: '4' - coverage_shard: models-integrations + coverage_shard: models + - lane: coverage-integrations + command: pnpm run check:ci:coverage + gate_concurrency: '1' + coverage_max_workers: '4' + coverage_shard: integrations - lane: coverage-sdk-capabilities command: pnpm run check:ci:coverage gate_concurrency: '1' diff --git a/scripts/coverage-shards.ts b/scripts/coverage-shards.ts index 4bcc0277c1..dc471e33b4 100644 --- a/scripts/coverage-shards.ts +++ b/scripts/coverage-shards.ts @@ -34,8 +34,12 @@ export const coverageShards = [ ], }, { - name: 'models-integrations', - packageRoots: ['llm', 'compact', 'hooks/hook-protocol', 'lsp', 'mcp', 'hooks/hooks-claude'], + name: 'models', + packageRoots: ['llm', 'compact'], + }, + { + name: 'integrations', + packageRoots: ['hooks/hook-protocol', 'lsp', 'mcp', 'hooks/hooks-claude'], }, { name: 'sdk-capabilities',