Skip to content

Commit ae43f3e

Browse files
committed
ci: use go as webserver
1 parent a416822 commit ae43f3e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/e2e-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,11 @@ jobs:
8787

8888
- name: run puppeteer
8989
run: |
90-
python3 -m http.server 1234 -d ./public & echo $! > PYTHON.pid
90+
go run ws/main.go & echo $! > WS.pid
9191
./lightpanda serve & echo $! > LPD.pid
9292
RUNS=100 npm run bench-puppeteer-cdp > puppeteer.out || exit 1
9393
cat /proc/`cat LPD.pid`/status |grep VmHWM|grep -oP '\d+' > LPD.VmHWM
94-
kill `cat LPD.pid` `cat PYTHON.pid`
94+
kill `cat LPD.pid` `cat WS.pid`
9595
9696
- name: puppeteer result
9797
run: cat puppeteer.out
@@ -161,11 +161,11 @@ jobs:
161161

162162
- name: run puppeteer
163163
run: |
164-
python3 -m http.server 1234 -d ./public & echo $! > PYTHON.pid
164+
go run ws/main.go & echo $! > WS.pid
165165
./lightpanda serve & echo $! > LPD.pid
166166
RUNS=100 npm run bench-puppeteer-cdp > puppeteer.out || exit 1
167167
cat /proc/`cat LPD.pid`/status |grep VmHWM|grep -oP '\d+' > LPD.VmHWM
168-
kill `cat LPD.pid` `cat PYTHON.pid`
168+
kill `cat LPD.pid` `cat WS.pid`
169169
170170
- name: puppeteer result
171171
run: cat puppeteer.out

0 commit comments

Comments
 (0)