Skip to content

Commit 5c127be

Browse files
authored
Retry tests
This shouldn't be a thing, but for today, and probably the next few days, if this works, it works. Working on a, hopefully, better solution that runs all `arm` actions on `arm` nodes.
1 parent 58fa1e6 commit 5c127be

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -216,9 +216,14 @@ jobs:
216216
path: ./docker-image
217217
- run: ls -lasth ./docker-image/
218218
- run: docker load --input ./docker-image/image.tar
219-
- run: |
220-
export IMAGE_BASE_VERSION=$(php -r 'echo explode("-", "${{ matrix.image }}")[2];')
221-
(echo "${{ needs.supported-arch-matrix.outputs.arch }}" | jq -r '.[]') | xargs -I % make $(php -r 'echo "test-", explode("-", str_replace(["zts-zts", "cli-nts"], ["zts", "nts"], "${{ matrix.image }}"))[0];') IMAGE_ARCH=%
219+
- uses: nick-invision/retry@v3
220+
with:
221+
timeout_minutes: 120
222+
retry_wait_seconds: 30
223+
max_attempts: 50
224+
command: |
225+
export IMAGE_BASE_VERSION=$(php -r 'echo explode("-", "${{ matrix.image }}")[2];')
226+
(echo "${{ needs.supported-arch-matrix.outputs.arch }}" | jq -r '.[]') | xargs -I % make $(php -r 'echo "test-", explode("-", str_replace(["zts-zts", "cli-nts"], ["zts", "nts"], "${{ matrix.image }}"))[0];') IMAGE_ARCH=%
222227
- run: rm -Rf ./docker-image/
223228
check-mark:
224229
name: ✔️

0 commit comments

Comments
 (0)