mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-02-04 14:33:47 +00:00
Merge pull request #1358 from lightpanda-io/wpt-v8
ci: move fetch test from integration to e2e
This commit is contained in:
16
.github/workflows/e2e-integration-test.yml
vendored
16
.github/workflows/e2e-integration-test.yml
vendored
@@ -66,19 +66,3 @@ jobs:
|
|||||||
./lightpanda serve & echo $! > LPD.pid
|
./lightpanda serve & echo $! > LPD.pid
|
||||||
go run integration/main.go
|
go run integration/main.go
|
||||||
kill `cat LPD.pid`
|
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/
|
|
||||||
|
|||||||
16
.github/workflows/e2e-test.yml
vendored
16
.github/workflows/e2e-test.yml
vendored
@@ -232,3 +232,19 @@ jobs:
|
|||||||
|
|
||||||
- name: format and send json result
|
- name: format and send json result
|
||||||
run: /perf-fmt hyperfine ${{ github.sha }} hyperfine.json
|
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/
|
||||||
|
|||||||
7
.github/workflows/wpt.yml
vendored
7
.github/workflows/wpt.yml
vendored
@@ -30,8 +30,11 @@ jobs:
|
|||||||
|
|
||||||
- uses: ./.github/actions/install
|
- uses: ./.github/actions/install
|
||||||
|
|
||||||
- name: json output
|
- name: build wpt
|
||||||
run: zig build -Dprebuilt_v8_path=v8/libc_v8.a wpt -- --json > wpt.json
|
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
|
- name: write commit
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user