Merge pull request #1358 from lightpanda-io/wpt-v8

ci: move fetch test from integration to e2e
This commit is contained in:
Pierre Tachoire
2026-01-12 09:26:55 +01:00
committed by GitHub
3 changed files with 21 additions and 18 deletions

View File

@@ -66,19 +66,3 @@ jobs:
./lightpanda serve & echo $! > LPD.pid
go run integration/main.go
kill `cat LPD.pid`
browser-fetch:
name: browser fetch
needs: zig-build-release
runs-on: ubuntu-latest
steps:
- name: download artifact
uses: actions/download-artifact@v4
with:
name: lightpanda-build-release
- run: chmod a+x ./lightpanda
- run: ./lightpanda fetch https://demo-browser.lightpanda.io/campfire-commerce/

View File

@@ -232,3 +232,19 @@ jobs:
- name: format and send json result
run: /perf-fmt hyperfine ${{ github.sha }} hyperfine.json
browser-fetch:
name: browser fetch
needs: zig-build-release
runs-on: ubuntu-latest
steps:
- name: download artifact
uses: actions/download-artifact@v4
with:
name: lightpanda-build-release
- run: chmod a+x ./lightpanda
- run: ./lightpanda fetch https://demo-browser.lightpanda.io/campfire-commerce/

View File

@@ -30,8 +30,11 @@ jobs:
- uses: ./.github/actions/install
- name: json output
run: zig build -Dprebuilt_v8_path=v8/libc_v8.a wpt -- --json > wpt.json
- name: build wpt
run: zig build -Dprebuilt_v8_path=v8/libc_v8.a -Doptimize=ReleaseFast wpt
- name: run test with json output
run: ./zig-out/bin/lightpanda-wpt > wpt.json
- name: write commit
run: |