Skip to content

Commit d731fa6

Browse files
committed
Surface timeout-minutes in reusable-cibuildwheel
1 parent 0b39d2b commit d731fa6

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
@@ -170,6 +170,7 @@ jobs:
170170
|| '*-musllinux_* pp*'
171171
}}
172172
runner-vm-os: ${{ matrix.runner-vm-os }}
173+
timeout-minutes: 20
173174
source-tarball-name: >-
174175
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
175176
dists-artifact-name: ${{ needs.pre-setup.outputs.dists-artifact-name }}
@@ -520,6 +521,7 @@ jobs:
520521
&& '*-manylinux_* pp*'
521522
|| '*-musllinux_* pp*'
522523
}}
524+
timeout-minutes: 60
523525
source-tarball-name: >-
524526
${{ needs.build-pure-python-dists.outputs.sdist-filename }}
525527
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 && 60 || 20 }}
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)