File tree 2 files changed +15
-5
lines changed
2 files changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -83,11 +83,19 @@ jobs:
83
83
with :
84
84
distribution : ' temurin'
85
85
java-version : 11
86
- - name : Run tests
86
+ - name : Run tests on Windows
87
+ if : matrix.os == 'windows'
88
+ uses :
nick-invision/[email protected]
89
+ with :
90
+ timeout_minutes : 20
91
+ max_attempts : 2
92
+ command : cd examples/ruby && bundle exec rspec
93
+ new_command_on_retry : DEBUG=true cd examples/ruby && bundle exec rspec --only-failures
94
+ - name : Run tests on Linux/Mac
95
+ if : matrix.os != 'windows'
87
96
uses :
nick-invision/[email protected]
88
97
with :
89
98
timeout_minutes : 20
90
- max_attempts : 3
91
- command : |
92
- cd examples/ruby
93
- bundle exec rspec
99
+ max_attempts : 2
100
+ command : cd examples/ruby && bundle exec rspec
101
+ new_command_on_retry : $env:DEBUG="true" cd examples/ruby && bundle exec rspec --only-failures
Original file line number Diff line number Diff line change 9
9
10
10
# Disable RSpec exposing methods globally on `Module` and `main`
11
11
config . disable_monkey_patching!
12
+ Dir . mktmpdir ( 'tmp' )
13
+ config . example_status_persistence_file_path = "tmp/examples.txt"
12
14
13
15
config . expect_with :rspec do |c |
14
16
c . syntax = :expect
You can’t perform that action at this time.
0 commit comments