File tree 1 file changed +21
-7
lines changed
1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 41
41
if : matrix.os != 'windows'
42
42
run : |
43
43
sudo rm -rf $CHROMEWEBDRIVER $EDGEWEBDRIVER $GECKOWEBDRIVER
44
- - name : Start Xvfb
45
- if : matrix.os == 'ubuntu'
46
- run : Xvfb :99 &
44
+ - name : Setup Fluxbox and Xvfb
45
+ if : inputs.os == 'ubuntu'
46
+ run : |
47
+ sudo apt-get -y install fluxbox
48
+ Xvfb :99 &
49
+ fluxbox -display :99 &
50
+ echo "DISPLAY=:99" >> "$GITHUB_ENV"
47
51
- name : Set up Ruby
48
52
uses : ruby/setup-ruby@v1
49
53
with :
@@ -89,13 +93,23 @@ jobs:
89
93
with :
90
94
timeout_minutes : 20
91
95
max_attempts : 2
92
- command : cd examples/ruby && bundle exec rspec
93
- new_command_on_retry : $env:DEBUG=true cd examples/ruby && bundle exec rspec --only-failures
96
+ command : |
97
+ cd examples/ruby
98
+ bundle exec rspec
99
+ new_command_on_retry : |
100
+ $env:DEBUG="true"
101
+ cd examples/ruby
102
+ bundle exec rspec --only-failures
94
103
- name : Run tests on Linux/Mac
95
104
if : matrix.os != 'windows'
96
105
uses : nick-invision/retry@v3.0.2
97
106
with :
98
107
timeout_minutes : 20
99
108
max_attempts : 2
100
- command : cd examples/ruby && bundle exec rspec
101
- new_command_on_retry : DEBUG="true" cd examples/ruby && bundle exec rspec --only-failures
109
+ command : |
110
+ cd examples/ruby
111
+ bundle exec rspec
112
+ new_command_on_retry : |
113
+ DEBUG="true"
114
+ cd examples/ruby
115
+ bundle exec rspec --only-failures
You can’t perform that action at this time.
0 commit comments