Skip to content

Commit d6fcf8d

Browse files
authored
Allow projects to set the URL test timeout (#19)
1 parent 9d595a4 commit d6fcf8d

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/test.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@ on:
1515
browser:
1616
type: boolean
1717
default: false
18+
web-timeout-minutes:
19+
description: Maximum duration including preview waiting, setup and URL tests.
20+
type: number
21+
default: 30
1822
preview-checks:
1923
description: JSON array of Netlify status contexts; the first is BASE_URL.
2024
type: string
@@ -60,7 +64,7 @@ jobs:
6064
name: Web
6165
if: ${{ !github.event.pull_request.draft && (inputs.http || inputs.browser) }}
6266
runs-on: ${{ inputs.runner }}
63-
timeout-minutes: 30
67+
timeout-minutes: ${{ inputs.web-timeout-minutes }}
6468
# Signed-in tests can share preview accounts across browser targets and PRs.
6569
concurrency:
6670
group: qa-web-${{ github.repository }}

0 commit comments

Comments
 (0)