Procházet zdrojové kódy

ci(windows): restore complete coverage sharding

creatixchu před 1 měsícem
rodič
revize
dc82511497
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. 1 1
      .github/workflows/ci.yml
  2. 2 2
      scripts/ci-workflow.spec.ts

+ 1 - 1
.github/workflows/ci.yml

@@ -452,7 +452,7 @@ jobs:
     timeout-minutes: 120
     env:
       DSH_COVERAGE_MAX_WORKERS: '6'
-      DSH_COVERAGE_PARTITIONS: '6'
+      DSH_COVERAGE_PARTITIONS: '4'
       DSH_COVERAGE_TEST_TIMEOUT_MS: '30000'
       DSH_GATE_CONCURRENCY: '3'
     steps:

+ 2 - 2
scripts/ci-workflow.spec.ts

@@ -98,9 +98,9 @@ describe('CI workflow', () => {
     ))
     expect(buildCommands.map(step => step.run)).toContain('pnpm run check:ci:windows-blocking')
 
-    // windows-coverage runs the 6-partition profile.
+    // windows-coverage runs the 4-partition profile.
     expect(windowsCoverage.name).toBe('windows node 24 / coverage')
-    expect(windowsCoverage.env).toMatchObject({ DSH_COVERAGE_PARTITIONS: '6' })
+    expect(windowsCoverage.env).toMatchObject({ DSH_COVERAGE_PARTITIONS: '4' })
     const coverageSteps = windowsCoverage.steps as unknown[]
     const coverageCommands = coverageSteps.filter((step): step is Record<string, unknown> & { run: string } => (
       isRecord(step) && typeof step.run === 'string'