File tree 4 files changed +28
-21
lines changed
4 files changed +28
-21
lines changed Original file line number Diff line number Diff line change 29
29
# Install Docker Compose
30
30
- name : Install Docker Compose
31
31
run : |
32
- sudo apt-get update
32
+ sudo apt-get update --allow-releaseinfo-change
33
33
sudo apt-get install -y docker-compose
34
34
35
35
# Run rest tests using docker-compose
Original file line number Diff line number Diff line change 35
35
npm i --force
36
36
env :
37
37
PUPPETEER_SKIP_CHROMIUM_DOWNLOAD : true
38
+ - name : Allow Release info Change
39
+ run : |
40
+ sudo apt-get update --allow-releaseinfo-change
38
41
- name : Install browsers and deps
39
42
run : npx playwright install && npx playwright install-deps
40
43
- name : check
Original file line number Diff line number Diff line change 15
15
16
16
jobs :
17
17
build :
18
-
19
18
runs-on : ubuntu-22.04
20
19
21
20
strategy :
22
21
matrix :
23
22
node-version : [20.x]
24
23
25
24
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 2
2
FROM mcr.microsoft.com/playwright:v1.48.1-noble
3
3
ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD true
4
4
5
+ RUN apt-get update --allow-releaseinfo-change
6
+
5
7
# Installing the pre-required packages and libraries
6
8
RUN apt-get update && \
7
9
apt-get install -y libgtk2.0-0 \
You can’t perform that action at this time.
0 commit comments