Skip to content

Commit

Permalink
ci: add test end to end
Browse files Browse the repository at this point in the history
  • Loading branch information
krichprollsch committed Dec 31, 2024
1 parent c55849c commit c95d739
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/zig-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,14 @@ jobs:
- name: zig build debug
run: zig build -Dengine=v8

- name: upload artifact
uses: actions/upload-artifact@v4
with:
name: lightpanda-build-dev
path: |
zig-out/bin/lightpanda
retention-days: 1

zig-build-release:
name: zig build release

Expand Down Expand Up @@ -131,3 +139,30 @@ jobs:

- name: format and send json result
run: /perf-fmt bench-browser ${{ github.sha }} bench.json

demo-puppeteer:
name: demo-puppeteer
needs: zig-build-dev

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
repository: 'lightpanda-io/demo'
fetch-depth: 0

- run: npm install

- name: download artifact
uses: actions/download-artifact@v4
with:
name: lightpanda-build-dev

- run: chmod a+x ./lightpanda

- name: run puppeteer
run: |
python3 -m http.server 1234 -d ./public &
./lightpanda &
RUNS=2 npm run bench-puppeteer-cdp

0 comments on commit c95d739

Please sign in to comment.