Skip to content

Commit a3a3ba2

Browse files
committed
ci: add a browser fetch test
1 parent 82e67b7 commit a3a3ba2

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.github/workflows/zig-test.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,23 @@ jobs:
6666
zig-out/bin/lightpanda
6767
retention-days: 1
6868

69+
browser-fetch:
70+
name: browser fetch
71+
needs: zig-build-dev
72+
73+
# Don't run the CI with draft PR.
74+
if: github.event.pull_request.draft == false
75+
76+
runs-on: ubuntu-latest
77+
78+
steps:
79+
- name: download artifact
80+
uses: actions/download-artifact@v4
81+
with:
82+
name: lightpanda-build-dev
83+
84+
- run: ./zig-out/bin/lightpanda fetch https://httpbin.io/xhr/get
85+
6986
zig-test:
7087
name: zig test
7188

0 commit comments

Comments
 (0)