From 1b5054fbd59e85ae383ee1e7eede42174d7b26a4 Mon Sep 17 00:00:00 2001 From: Turadg Aleahmad Date: Thu, 20 Jun 2024 20:54:53 -0700 Subject: [PATCH] ci: retry agoric-cli integration test --- .github/workflows/integration.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index f7a0e08fc838..8b3589f28eee 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -90,7 +90,14 @@ jobs: REGISTRY_PUBLISH_WORKSPACES="$HOME/endo" scripts/registry.sh bg-publish ${{ matrix.cli }} - name: run agoric-cli integration-test - run: scripts/registry.sh test ${{ matrix.cli }} ${{steps.get-branch.outputs.result}} + # These integration tests can be flaky so retry automatically + uses: nick-fields/retry@v3 + with: + # This step usually takes <4 minutes (after 6m setup). The + # deployment-test running in parallel takes 35 minutes so 20 minutes + # won't increase the time for this workflow to complete. + timeout_minutes: 20 + command: scripts/registry.sh test ${{ matrix.cli }} ${{steps.get-branch.outputs.result}} - name: notify on failure if: >