File tree Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Expand file tree Collapse file tree 1 file changed +21
-7
lines changed Original file line number Diff line number Diff line change 4141        if : matrix.os != 'windows' 
4242        run : | 
4343          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" 
4751       - name : Set up Ruby 
4852        uses : ruby/setup-ruby@v1 
4953        with :
@@ -89,13 +93,23 @@ jobs:
8993        with :
9094          timeout_minutes : 20 
9195          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 
94103       - name : Run tests on Linux/Mac 
95104        if : matrix.os != 'windows' 
96105        uses : 
nick-invision/[email protected]   97106        with :
98107          timeout_minutes : 20 
99108          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