File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 6565        run : | 
6666          git checkout PR-HEAD -- ./cypress 
6767
68+ name : Check file existence 
69+         id : check_files 
70+         run : | 
71+           if test "py/visdom/server.py"; then 
72+           echo '::set-output name=file_exists::true' 
73+           else 
74+           echo '::set-output name=file_exists::false' 
75+           fi 
76+ 
77+ name : Cypress test:init 
78+         if : steps.check_files.outputs.file_exists == 'true' 
79+         uses : cypress-io/github-action@v2 
80+         with :
81+           install : false 
82+           start : python3 py/visdom/server.py -port 8098 -env_path /tmp 
83+           wait-on : ' http://localhost:8098' 
84+           spec : cypress/integration/*.init.js 
6885      - name : Cypress test:init 
6986        uses : cypress-io/github-action@v2 
87+         if : steps.check_files.outputs.file_exists != 'true' 
7088        with :
7189          install : false 
7290          start : python3 py/visdom/server -port 8098 -env_path /tmp 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments