Skip to content

Commit 661a5e1

Browse files
committed
Surface timeout-minutes in reusable-cibuildwheel
1 parent 67a8cb2 commit 661a5e1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ jobs:
153153
|| '*-musllinux_* pp*'
154154
}}
155155
runner-vm-os: ${{ matrix.runner-vm-os }}
156+
timeout-minutes: 15
156157
source-tarball-name: >-
157158
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
158159
dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}
@@ -569,6 +570,7 @@ jobs:
569570
&& '*-manylinux_* pp*'
570571
|| '*-musllinux_* pp*'
571572
}}
573+
timeout-minutes: 120
572574
source-tarball-name: >-
573575
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
574576
dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}

.github/workflows/reusable-cibuildwheel.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ on: # yamllint disable-line rule:truthy
2727
description: Sdist filename wildcard
2828
required: true
2929
type: string
30+
timeout-minutes:
31+
description: Deadline for the job to complete
32+
required: true
33+
type: number
3034
wheel-tags-to-skip:
3135
description: Wheel tags to skip building
3236
default: ''
@@ -52,7 +56,7 @@ jobs:
5256
)
5357
}}
5458
runs-on: ${{ inputs.runner-vm-os }}
55-
timeout-minutes: ${{ inputs.qemu && 120 || 15 }}
59+
timeout-minutes: ${{ fromJSON(inputs.timeout-minutes) }}
5660
steps:
5761
- name: Compute GHA artifact name ending
5862
id: gha-artifact-name

0 commit comments

Comments
 (0)