File tree Expand file tree Collapse file tree 1 file changed +2
-31
lines changed Expand file tree Collapse file tree 1 file changed +2
-31
lines changed Original file line number Diff line number Diff line change @@ -12,26 +12,12 @@ jobs:
1212  e2e :
1313    runs-on : ubuntu-latest 
1414
15-     #  services:
16-     #    db:
17-     #      image: postgres:13
18-     #      env:
19-     #        POSTGRES_DB: postgres
20-     #        POSTGRES_USER: postgres
21-     #        POSTGRES_PASSWORD: secret
22-     #      ports:
23-     #        - 5432:5432
24-     #      healthcheck:
25-     #      test: ["CMD-SHELL", "pg_isready -U postgres"]
26-     #      interval: 5s
27-     #      retries: 5
28-     #      timeout: 2s
29- 
3015    env :
3116      DATABASE_URL : " postgresql://postgres:secret@localhost:5432/postgres" 
3217      NEXTAUTH_URL : http://localhost:3000/api/auth 
3318      GITHUB_ID : ${{ secrets.E2E_GITHUB_ID }} 
3419      GITHUB_SECRET : ${{ secrets.E2E_GITHUB_SECRET }} 
20+       NEXTAUTH_SECRET : " please_keep_this_secret" 
3521
3622    steps :
3723    - name : Checkout repository 
7561      with :
7662        name : playwright-report 
7763        path : playwright-report/ 
78-         retention-days : 30 
79- 
80- 
81-     - name : Save traces for inspection 
82-       if : failure() 
83-       run : | 
84-         mkdir -p trace-artifacts 
85-         [ -d playwright-report ] && cp -R playwright-report trace-artifacts/ || echo "No Playwright report to copy." 
86-         [ -d traces ] && cp -R traces/* trace-artifacts/ || echo "No trace files to copy." 
87- 
88- name : Upload traces 
89-       if : failure() 
90-       uses : actions/upload-artifact@v3 
91-       with :
92-         name : test-traces 
93-         path : trace-artifacts 
64+         retention-days : 30 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments