fix(ci): budget native Windows coverage timing

This commit is contained in:
Tianyi Cui
2026-08-12 15:39:17 +08:00
parent de17206051
commit f3bfcf33bb
7 changed files with 52 additions and 4 deletions

View File

@@ -64,6 +64,9 @@ describe('CI workflow', () => {
expect(windowsNative['runs-on']).toContain('dsh-windows-2025-16core')
expect(windowsNative.name).toBe('windows node 24 / native complete')
expect(windowsNative.if).toBe("github.event_name == 'pull_request'")
expect(windowsNative.env).toMatchObject({
DSH_COVERAGE_TEST_TIMEOUT_MS: '15000',
})
const nativeCommandSteps = (windowsNative.steps as unknown[]).filter((step): step is Record<string, unknown> & { run: string } => (
isRecord(step) && typeof step.run === 'string'
))