We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da18265 commit 610da66Copy full SHA for 610da66
.github/workflows/ci.yml
@@ -113,7 +113,16 @@ jobs:
113
114
- name: Run acceptance tests
115
run: |
116
- bundle exec rake 'litmus:acceptance:parallel'
+ for i in 1 2 3; do
117
+ if bundle exec rake 'litmus:acceptance:parallel'; then
118
+ break
119
+ elif [ "$i" -lt 3 ]; then
120
+ echo "Retrying acceptance tests (Attempt $i)"
121
+ else
122
+ echo "Acceptance tests failed after $i attempts."
123
+ exit 1
124
+ fi
125
+ done
126
127
- name: Remove test environment
128
if: ${{ always() }}
0 commit comments