Skip to content

Commit 2d3fb0a

Browse files
committed
allow to retry tests in CI
1 parent 559db4c commit 2d3fb0a

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,5 +82,8 @@ jobs:
8282
bundler-cache: true
8383

8484
- name: Run tests
85-
run: |
86-
bundle exec rspec
85+
uses: nick-fields/retry@v3
86+
with:
87+
max_attempts: 2
88+
timeout_minutes: 10
89+
command: bundle exec rspec

0 commit comments

Comments
 (0)