@@ -33,21 +33,13 @@ jobs:
3333 matrix :
3434 test_step :
3535 - name : sync
36- timeout : 40
3736 - name : unit
38- timeout : 15
3937 - name : package
40- timeout : 10
4138 - name : start-lambda
42- timeout : 15
4339 - name : invoke
44- timeout : 25
4540 - name : start-api
46- timeout : 35
4741 - name : deploy
48- timeout : 45
4942 # - name: build
50- # timeout: 30
5143 env :
5244 AWS_DEFAULT_REGION : " ${{ secrets.REGION }}"
5345 BY_CANARY : true
@@ -213,7 +205,6 @@ jobs:
213205
214206 - name : Run sync tests
215207 if : matrix.test_step.name == 'sync'
216- timeout-minutes : ${{ matrix.test_step.timeout }}
217208 run : |
218209 su ec2-user -c 'cd aws-sam-cli && python3.11 -m pip install pytest-rerunfailures'
219210 echo "=== SYNC TESTS - Started at $(date) ==="
@@ -255,7 +246,6 @@ jobs:
255246
256247 - name : Run unit tests
257248 if : matrix.test_step.name == 'unit'
258- timeout-minutes : ${{ matrix.test_step.timeout }}
259249 run : |
260250 echo "=== UNIT TESTS - Started at $(date) ==="
261251 touch /tmp/unit_test_output.txt
@@ -291,7 +281,6 @@ jobs:
291281
292282 - name : Run package tests
293283 if : matrix.test_step.name == 'package'
294- timeout-minutes : ${{ matrix.test_step.timeout }}
295284 run : |
296285 echo "=== PACKAGE TESTS - Started at $(date) ==="
297286 touch /tmp/package_output.txt
@@ -344,7 +333,6 @@ jobs:
344333
345334 - name : Run invoke tests
346335 if : matrix.test_step.name == 'invoke'
347- timeout-minutes : ${{ matrix.test_step.timeout }}
348336 run : |
349337 echo "=== INVOKE TESTS - Started at $(date) ==="
350338 touch /tmp/invoke_output.txt
@@ -398,7 +386,6 @@ jobs:
398386
399387 - name : Run start-lambda tests
400388 if : matrix.test_step.name == 'start-lambda'
401- timeout-minutes : ${{ matrix.test_step.timeout }}
402389 run : |
403390 echo "=== START-LAMBDA TESTS - Started at $(date) ==="
404391 touch /tmp/start_lambda_output.txt
@@ -436,7 +423,6 @@ jobs:
436423
437424 - name : Run start-api tests
438425 if : matrix.test_step.name == 'start-api'
439- timeout-minutes : ${{ matrix.test_step.timeout }}
440426 run : |
441427 echo "=== START-API TESTS - Started at $(date) ==="
442428 touch /tmp/start_api_output.txt
@@ -487,7 +473,6 @@ jobs:
487473
488474 - name : Run deploy tests
489475 if : matrix.test_step.name == 'deploy'
490- timeout-minutes : ${{ matrix.test_step.timeout }}
491476 run : |
492477 echo "=== DEPLOY TESTS - Started at $(date) ==="
493478 touch /tmp/deploy_output.txt
0 commit comments