Răsfoiți Sursa

ci: split model and integration coverage

Tianyi Cui 2 luni în urmă
părinte
comite
efba4c259b
2 a modificat fișierele cu 13 adăugiri și 4 ștergeri
  1. 7 2
      .github/workflows/ci.yml
  2. 6 2
      scripts/coverage-shards.ts

+ 7 - 2
.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'

+ 6 - 2
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',