Skip to content

Commit 1ebd4fc

Browse files
committed
ci: split wpt wnd wpt-json jobs
1 parent 7fe719f commit 1ebd4fc

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/wpt.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,23 @@ jobs:
6262
# TODO remove the continue-on-error when tests will pass.
6363
continue-on-error: true
6464

65+
wpt-json:
66+
name: web platform tests json output
67+
68+
# Don't execute on PR
69+
if: github.event_name != 'pull_request'
70+
71+
runs-on: ubuntu-latest
72+
73+
steps:
74+
- uses: actions/checkout@v4
75+
with:
76+
fetch-depth: 0
77+
# fetch submodules recusively, to get zig-js-runtime submodules also.
78+
submodules: recursive
79+
80+
- uses: ./.github/actions/install
81+
6582
- name: json output
6683
run: zig build wpt -Dengine=v8 -- --safe --json > wpt.json
6784

@@ -80,7 +97,7 @@ jobs:
8097

8198
perf-fmt:
8299
name: perf-fmt
83-
needs: wpt
100+
needs: wpt-json
84101

85102
# Don't execute on PR
86103
if: github.event_name != 'pull_request'

0 commit comments

Comments
 (0)