From b2a4c2e4f650f84a4f22c655a6b504b00fe0f72f Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 3 Jun 2021 01:12:28 +0200 Subject: build: collect wpt results as json (#10823) --- .github/workflows/ci.yml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to '.github') diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 406d1bf2e..9826293bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -316,7 +316,19 @@ jobs: if: startsWith(matrix.os, 'ubuntu') && matrix.kind == 'test' && matrix.profile == 'release' run: | deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts setup - deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts run --quiet --release + deno run --unstable --allow-write --allow-read --allow-net --allow-env --allow-run ./tools/wpt.ts run --quiet --release --json=wpt.json + + - name: Upload wpt results to dl.deno.land + if: | + runner.os == 'Linux' && + matrix.kind == 'test' && + matrix.profile == 'release' && + github.repository == 'denoland/deno' && + github.ref == 'refs/heads/main' + run: | + gsutil cp ./wpt.json gs://dl.deno.land/wpt/$(git rev-parse HEAD).json + echo $(git rev-parse HEAD) > wpt-latest.txt + gsutil cp wpt-latest.txt gs://dl.deno.land/wpt-latest.txt - name: Run web platform tests (debug) if: startsWith(matrix.os, 'ubuntu') && matrix.kind == 'test' && matrix.profile == 'debug' -- cgit v1.2.3