Skip to content

Commit 9fd58c1

Browse files
authored
CI: make timeout configurable for install jobs in check-package.yml (#412)
1 parent 7e4af60 commit 9fd58c1

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/check-package.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,11 @@ on:
5757
{
5858
"SAMPLE_ENV_VARIABLE": 1,
5959
}
60+
timeout-minutes:
61+
description: "timeout-minutes for each install job"
62+
required: false
63+
type: number
64+
default: 30
6065

6166
defaults:
6267
run:
@@ -161,7 +166,7 @@ jobs:
161166
name: ${{ inputs.artifact-name }}
162167
path: pypi
163168
- name: Installing package 📦 as Archive
164-
timeout-minutes: 10
169+
timeout-minutes: ${{ inputs.timeout-minutes }}
165170
uses: ./.cicd/.github/actions/pkg-install
166171
with:
167172
install-from: "archive"
@@ -170,7 +175,7 @@ jobs:
170175
import-name: ${{ inputs.import-name }}
171176
custom-import-code: ${{ inputs.custom-import-code }}
172177
- name: Installing package 📦 as Wheel
173-
timeout-minutes: 10
178+
timeout-minutes: ${{ inputs.timeout-minutes }}
174179
uses: ./.cicd/.github/actions/pkg-install
175180
with:
176181
install-from: "wheel"

0 commit comments

Comments
 (0)