Skip to content

Commit 95139d8

Browse files
authored
Merge pull request #635 from aws-amplify/fix-swift-test
chore: increase timeout for github workflow run
2 parents a764821 + 3c39973 commit 95139d8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.codebuild/scripts/run-ios-modelgen-e2e-test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,11 @@ main() {
5252
latest_run_id=$(get_latest_run_id)
5353
echo "Latest run ID: $latest_run_id"
5454
run_status=$(get_run_status "$latest_run_id")
55-
timeout=$((SECONDS + 600)) # 600 seconds = 10 minutes
55+
timeout=$((SECONDS + 1200)) # 1200 seconds = 20 minutes
5656

5757
# Continuously check for status until completion
5858
while [[ "$run_status" != "completed" && "$SECONDS" -lt "$timeout" ]]; do
59-
echo "Test run status: $latest_status"
59+
echo "Test run status: $run_status"
6060
sleep 10 # Wait before checking again
6161
run_status=$(get_run_status "$latest_run_id")
6262
done

.github/workflows/build-swift-modelgen.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ env:
1212

1313
jobs:
1414
Build-Swift-Modelgen:
15-
name: Analyze
15+
name: Build
1616
runs-on: macos-13-xl
1717
permissions:
1818
actions: read

0 commit comments

Comments
 (0)