Skip to content

Commit c272be4

Browse files
Erik Bylundkirre-bylund
authored andcommitted
Add timeouts to steps to avoid locks
1 parent 4dcc9ae commit c272be4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/smoke-test-and-package.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
#container:
2424
# image: ubuntu-latest
2525
needs: []
26+
timeout-minutes: 20
2627
env:
2728
LL_USE_STAGE: false
2829
strategy:
@@ -121,6 +122,7 @@ jobs:
121122
#container:
122123
# image: ubuntu-latest
123124
needs: []
125+
timeout-minutes: 20
124126
env:
125127
LL_USE_STAGE: false
126128
strategy:
@@ -239,6 +241,7 @@ jobs:
239241
#container:
240242
# image: ubuntu-latest
241243
needs: []
244+
timeout-minutes: 30
242245
if: (startsWith(github.ref, 'refs/pull') && endsWith(github.base_ref, 'main')) || startsWith(github.ref, 'refs/tags/v') || (startsWith(github.ref, 'refs/heads') && endsWith(github.ref, 'main'))
243246
env:
244247
LL_USE_STAGE: false
@@ -346,6 +349,7 @@ jobs:
346349
#container:
347350
# image: ubuntu-latest
348351
needs: [editor-smoke-test, linux-build-smoke-test]
352+
timeout-minutes: 20
349353
env:
350354
LL_USE_STAGE: false
351355
strategy:
@@ -421,7 +425,8 @@ jobs:
421425
#container:
422426
# image: ubuntu-latest
423427
needs: [test-samples-and-validate-sdk]
424-
if: (startsWith(github.ref, 'refs/pull') && endsWith(github.base_ref, 'main')) || (startsWith(github.ref, 'refs/heads') && endsWith(github.ref, 'main')) || startsWith(github.ref, 'refs/tags/v')
428+
timeout-minutes: 10
429+
# if: (startsWith(github.ref, 'refs/pull') && endsWith(github.base_ref, 'main')) || (startsWith(github.ref, 'refs/heads') && endsWith(github.ref, 'main')) || startsWith(github.ref, 'refs/tags/v')
425430
env:
426431
LL_USE_STAGE: false
427432
strategy:

0 commit comments

Comments
 (0)