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.
2 parents a58cdf4 + 91b34c0 commit b2bb9dfCopy full SHA for b2bb9df
.github/workflows/nightly.yml
@@ -112,7 +112,16 @@ jobs:
112
113
- name: Run acceptance tests
114
run: |
115
- bundle exec rake 'litmus:acceptance:parallel'
+ for i in 1 2 3; do
116
+ if bundle exec rake 'litmus:acceptance:parallel'; then
117
+ break
118
+ elif [ "$i" -lt 3 ]; then
119
+ echo "Retrying acceptance tests (Attempt $i)"
120
+ else
121
+ echo "Acceptance tests failed after $i attempts."
122
+ exit 1
123
+ fi
124
+ done
125
126
- name: Remove test environment
127
if: ${{ always() }}
0 commit comments