File tree Expand file tree Collapse file tree 4 files changed +28
-21
lines changed Expand file tree Collapse file tree 4 files changed +28
-21
lines changed Original file line number Diff line number Diff line change 2929      #  Install Docker Compose
3030      - name : Install Docker Compose 
3131        run : | 
32-           sudo apt-get update 
32+           sudo apt-get update --allow-releaseinfo-change  
3333          sudo apt-get install -y docker-compose 
3434
3535#  Run rest tests using docker-compose
Original file line number Diff line number Diff line change 3535          npm i --force 
3636env :
3737          PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true 
38+       - name : Allow Release info Change 
39+         run : | 
40+           sudo apt-get update --allow-releaseinfo-change 
3841name : Install browsers and deps 
3942        run : npx playwright install && npx playwright install-deps 
4043      - name : check 
Original file line number Diff line number Diff line change 1515
1616jobs :
1717  build :
18- 
1918    runs-on : ubuntu-22.04 
2019
2120    strategy :
2221      matrix :
2322        node-version : [20.x] 
2423
2524    steps :
26-     - uses : actions/checkout@v4 
27-     - name : Use Node.js ${{ matrix.node-version }} 
28-       uses : actions/setup-node@v4 
29-       with :
30-         node-version : ${{ matrix.node-version }} 
31-     - uses : shivammathur/setup-php@v2 
32-       with :
33-         php-version : 7.4 
34-     - name : npm install 
35-       run : | 
36-         npm i --force 
37- env :
38-         PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true 
39-     - name : Install browsers and deps 
40-       run : npx playwright install chromium && npx playwright install-deps 
41-     - name : start a server 
42-       run : " php -S 127.0.0.1:8000 -t test/data/app &" 
43-     - name : run plugin tests 
44-       run : npm run test:plugin 
25+       - uses : actions/checkout@v4 
26+       - name : Use Node.js ${{ matrix.node-version }} 
27+         uses : actions/setup-node@v4 
28+         with :
29+           node-version : ${{ matrix.node-version }} 
30+       - uses : shivammathur/setup-php@v2 
31+         with :
32+           php-version : 7.4 
33+       - name : npm install 
34+         run : | 
35+           npm i --force 
36+ env :
37+           PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true 
38+       - name : Allow Release info Change 
39+         run : | 
40+           sudo apt-get update --allow-releaseinfo-change 
41+ name : Install browsers and deps 
42+         run : npx playwright install chromium && npx playwright install-deps 
43+       - name : start a server 
44+         run : ' php -S 127.0.0.1:8000 -t test/data/app &' 
45+       - name : run plugin tests 
46+         run : npm run test:plugin 
Original file line number Diff line number Diff line change 22FROM  mcr.microsoft.com/playwright:v1.48.1-noble
33ENV  PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
44
5+ RUN  apt-get update --allow-releaseinfo-change
6+ 
57#  Installing the pre-required packages and libraries
68RUN  apt-get update && \
79      apt-get install -y libgtk2.0-0 \
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments