test: update release workflow preflight assertion for coverage skip

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
程序员阿江(Relakkes) 2026-05-09 00:07:22 +08:00
parent 9af1ec6271
commit 460a245fb2

View File

@ -6,7 +6,7 @@ describe('release desktop workflow', () => {
const workflow = readFileSync('.github/workflows/release-desktop.yml', 'utf8')
expect(workflow).toContain('quality-preflight:')
expect(workflow).toContain('run: bun run quality:gate --mode pr --artifacts-dir artifacts/quality-runs')
expect(workflow).toContain('run: bun run quality:gate --mode pr --skip coverage --artifacts-dir artifacts/quality-runs')
expect(workflow).toContain('cat "$latest_report" >> "$GITHUB_STEP_SUMMARY"')
expect(workflow).toContain('name: release-quality-gate')
expect(workflow).toContain('path: artifacts/quality-runs/')