ci: allow full desktop validation to finish
Cross-platform packages / Validate source (push) Canceled after 0s
Cross-platform packages / Authorize desktop packaging (push) Canceled after 0s
Cross-platform packages / linux arm64 (push) Canceled after 0s
Cross-platform packages / macos arm64 (push) Canceled after 0s
Cross-platform packages / windows arm64 (push) Canceled after 0s
Cross-platform packages / linux x64 (push) Canceled after 0s
Cross-platform packages / macos x64 (push) Canceled after 0s
Cross-platform packages / windows x64 (push) Canceled after 0s
Cross-platform packages / Publish GitHub and OSS release (push) Canceled after 0s

This commit is contained in:
mesalogo
2026-09-20 14:15:27 +08:00
parent 3cd6f44d7d
commit fe093bc15f
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
validate:
name: Validate source
runs-on: ubuntu-24.04
timeout-minutes: 20
timeout-minutes: 30
steps:
- uses: actions/checkout@v7
+5
View File
@@ -12,6 +12,7 @@ const parsed = parse(workflow) as {
string,
{
needs?: string | string[]
'timeout-minutes'?: number
environment?: { name?: string }
strategy?: {
matrix?: {
@@ -50,6 +51,10 @@ function jobNeeds(name: string): string[] {
}
describe('desktop packages workflow', () => {
it('allows enough time for the full source validation and bundle build', () => {
expect(parsed.jobs.validate?.['timeout-minutes']).toBe(30)
})
it('prepares a sandbox and virtual display before running Electron tests', () => {
const steps = parsed.jobs.validate?.steps ?? []
const installIndex = steps.findIndex(step => step.run === 'npm ci')