Skip to content

Commit a661c84

Browse files
committed
Surface timeout-minutes in reusable-cibuildwheel
1 parent 44bac8b commit a661c84

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
@@ -169,6 +169,7 @@ jobs:
169169
|| '*-musllinux_* pp*'
170170
}}
171171
runner-vm-os: ${{ matrix.runner-vm-os }}
172+
timeout-minutes: 11
172173
source-tarball-name: >-
173174
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
174175
dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}
@@ -424,6 +425,7 @@ jobs:
424425
&& '*-manylinux_* pp*'
425426
|| '*-musllinux_* pp*'
426427
}}
428+
timeout-minutes: 25
427429
source-tarball-name: >-
428430
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
429431
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
@@ -32,6 +32,10 @@ on: # yamllint disable-line rule:truthy
3232
description: Sdist filename wildcard
3333
required: true
3434
type: string
35+
timeout-minutes:
36+
description: Deadline for the job to complete
37+
required: true
38+
type: number
3539
wheel-tags-to-skip:
3640
description: Wheel tags to skip building
3741
default: ''
@@ -57,7 +61,7 @@ jobs:
5761
)
5862
}}
5963
runs-on: ${{ inputs.runner-vm-os }}
60-
timeout-minutes: ${{ inputs.qemu && 25 || 11 }}
64+
timeout-minutes: ${{ fromJSON(inputs.timeout-minutes) }}
6165
steps:
6266
- name: Compute GHA artifact name ending
6367
id: gha-artifact-name

0 commit comments

Comments
 (0)