Skip to content

Commit 15cd61e

Browse files
authored
Merge pull request #294 from AkihiroSuda/restart-gha
CI: automatically restart GHA
2 parents fd50397 + 1fdb70f commit 15cd61e

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
integration:
9191
name: Integration tests
9292
runs-on: macos-11
93-
timeout-minutes: 40
93+
timeout-minutes: 60
9494
strategy:
9595
matrix:
9696
# GHA macOS is slow and flaky, so we only test a few YAMLS here.
@@ -163,9 +163,12 @@ jobs:
163163
path: ~/Library/Caches/lima/download
164164
key: ${{ runner.os }}-examples/${{ matrix.example }}
165165
- name: Test
166-
env:
167-
EXAMPLE: ${{ matrix.example }}
168-
run: ./hack/test-example.sh examples/$EXAMPLE
166+
uses: nick-invision/retry@v2
167+
with:
168+
timeout_minutes: 15
169+
retry_on: error
170+
max_attempts: 3
171+
command: ./hack/test-example.sh examples/${{ matrix.example }}
169172

170173
artifacts-darwin:
171174
name: Artifacts Darwin

0 commit comments

Comments
 (0)