File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -51,14 +51,20 @@ jobs:
5151        run : bash ./setup_github.sh && docker compose up --build -d 
5252
5353      - name : check dns is working 
54-         run : netstat -tulpn  #  Use -tulpn to show TCP/UDP listeners
54+         run : cat /etc/hosts; netstat -tulpn  #  Use -tulpn to show TCP/UDP listeners
55+ 
56+       - name : Check what services are on what port 
57+         run : docker ps --format "table {{.Names}}\t{{.Ports}}" 
5558
5659      - name : Run E2E tests 
5760        uses : cypress-io/github-action@v6 
5861        with :
59-           config : pageLoadTimeout=100000,baseUrl=http://localhost:8089  
62+           config : pageLoadTimeout=100000,baseUrl=127.0.0.1:80  
6063          working-directory : test/ 
6164
65+       - name : Run unit tests 
66+         run : docker compose run test npx cypress run 
67+ 
6268      - name : Save artifact 
6369        uses : actions/upload-artifact@v4 
6470        with :
Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ services:
6464    image : nginx:alpine 
6565    ports :
6666      - 8089:80 
67+       - 80:80 
6768    volumes :
6869      - ./nginx/default.conf:/etc/nginx/conf.d/default.conf 
6970    depends_on :
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments