Skip to content

Commit 25db9e1

Browse files
VirtueMeclaude
andcommitted
ci(integration): add timeout, broaden health check, fix paths-ignore
- timeout-minutes: 15 prevents runaway jobs from consuming CI minutes - Wait for cloudformation, s3 and stepfunctions before deploying rather than cloudformation alone, reducing flaky failures on slow starts - paths-ignore: "**/*.md" to correctly ignore markdown in subdirectories Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8b7e156 commit 25db9e1

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/integration.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,12 @@ name: Integration Tests
33
on:
44
pull_request:
55
paths-ignore:
6-
- "*.md"
6+
- "**/*.md"
77

88
jobs:
99
integration:
1010
runs-on: ubuntu-latest
11+
timeout-minutes: 15
1112
steps:
1213
- uses: actions/checkout@v5
1314
- uses: actions/setup-node@v6
@@ -24,7 +25,10 @@ jobs:
2425
run: |
2526
echo "Waiting for LocalStack to be ready..."
2627
for i in $(seq 1 30); do
27-
if curl -s http://localhost:4566/_localstack/health | grep -q '"cloudformation": "available"'; then
28+
HEALTH=$(curl -s http://localhost:4566/_localstack/health)
29+
if echo "$HEALTH" | grep -q '"cloudformation": "available"' && \
30+
echo "$HEALTH" | grep -q '"s3": "available"' && \
31+
echo "$HEALTH" | grep -q '"stepfunctions": "available"'; then
2832
echo "LocalStack is ready"
2933
exit 0
3034
fi

0 commit comments

Comments
 (0)