Skip to content

Commit

Permalink
ci: allow flaky interchaintest to rerun. (#1034)
Browse files Browse the repository at this point in the history
* ci

* test

* test2

* test3
  • Loading branch information
tuantran1702 authored Jul 8, 2024
1 parent a40e23b commit 61632fe
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/interchaintest-E2E.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,19 @@ jobs:
docker image ls -a
- name: Run Test
id: run_test
continue-on-error: true
run: make ${{ matrix.test }}

- name: Retry Failed Test
if: steps.run_test.outcome == 'failure'
run: |
for i in 1 2; do
echo "Retry attempt $i"
if make ${{ matrix.test }}; then
echo "Test passed on retry"
exit 0
fi
done
echo "Test failed after retries"
exit 1

0 comments on commit 61632fe

Please sign in to comment.