Skip to content

Commit

Permalink
Update timeout for .github/workflows/tests.yaml (#951)
Browse files Browse the repository at this point in the history
---------

Co-authored-by: Jakub Warczarek <[email protected]>
  • Loading branch information
team-eng-enablement and programmer04 authored May 8, 2024
1 parent 4357c47 commit aef6ba6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ on:

jobs:
installer-tests:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
runs-on: ubuntu-latest
steps:

Expand All @@ -32,6 +33,7 @@ jobs:
run: ~/.local/bin/ktf

unit-tests:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
runs-on: ubuntu-latest
steps:

Expand Down Expand Up @@ -67,6 +69,7 @@ jobs:
attempt_delay: 30000

setup-integration-tests:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
runs-on: ubuntu-latest
outputs:
test_names: ${{ steps.set_test_names.outputs.test_names }}
Expand Down Expand Up @@ -149,6 +152,7 @@ jobs:
attempt_delay: 30000

integration-tests-passed:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
needs: integration-tests
if: always()
runs-on: ubuntu-latest
Expand All @@ -159,6 +163,7 @@ jobs:
exit 1
setup-e2e-tests:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
runs-on: ubuntu-latest
outputs:
test_names: ${{ steps.set_test_names.outputs.test_names }}
Expand Down Expand Up @@ -224,6 +229,7 @@ jobs:
KONG_LICENSE_DATA: ${{ steps.license.outputs.license }}

e2e-tests-passed:
timeout-minutes: ${{ fromJSON(vars.GHA_DEFAULT_TIMEOUT) }}
needs: e2e-tests
if: always() && !contains(needs.*.result, 'failure')
runs-on: ubuntu-latest
Expand Down

0 comments on commit aef6ba6

Please sign in to comment.