Skip to content

Commit 1224e7b

Browse files
committed
Reduce timeout for task-sdk/airflow-ctl tests job workflow (apache#52399)
* Add timeout for distribution tests job * Add timeout for distribution tests job
1 parent d0207e8 commit 1224e7b

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.github/workflows/airflow-distributions-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,16 @@ on: # yamllint disable-line rule:truthy
6161
description: "Whether local venv should be used for tests (true/false)"
6262
required: true
6363
type: string
64+
test-timeout:
65+
required: false
66+
type: number
67+
default: 60
68+
6469
permissions:
6570
contents: read
6671
jobs:
6772
distributions-tests:
68-
timeout-minutes: 80
73+
timeout-minutes: ${{ fromJSON(inputs.test-timeout) }}
6974
name: ${{ inputs.distribution-name }}:P${{ matrix.python-version }} tests
7075
runs-on: ${{ fromJSON(inputs.runners) }}
7176
strategy:

.github/workflows/ci-amd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -784,6 +784,7 @@ jobs:
784784
distribution-cmd-format: "prepare-task-sdk-distributions"
785785
test-type: "task-sdk-tests"
786786
use-local-venv: 'false'
787+
test-timeout: 20
787788
if: >
788789
( needs.build-info.outputs.run-task-sdk-tests == 'true' ||
789790
needs.build-info.outputs.run-tests == 'true' &&

0 commit comments

Comments
 (0)