From fd7db182219bdbc065e018f472173525e7ef8a18 Mon Sep 17 00:00:00 2001 From: Pierre Tachoire Date: Wed, 22 Jan 2025 13:57:49 +0100 Subject: [PATCH] ci: split wpt and wpt-json jobs --- .github/workflows/wpt.yml | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/.github/workflows/wpt.yml b/.github/workflows/wpt.yml index 6a3243a0..3fe78fc4 100644 --- a/.github/workflows/wpt.yml +++ b/.github/workflows/wpt.yml @@ -62,6 +62,23 @@ jobs: # TODO remove the continue-on-error when tests will pass. continue-on-error: true + wpt-json: + name: web platform tests json output + + # Don't execute on PR + if: github.event_name != 'pull_request' + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v4 + with: + fetch-depth: 0 + # fetch submodules recusively, to get zig-js-runtime submodules also. + submodules: recursive + + - uses: ./.github/actions/install + - name: json output run: zig build wpt -Dengine=v8 -- --safe --json > wpt.json @@ -80,7 +97,7 @@ jobs: perf-fmt: name: perf-fmt - needs: wpt + needs: wpt-json # Don't execute on PR if: github.event_name != 'pull_request'