diff options
| author | Luca Casonato <lucacasonato@yahoo.com> | 2021-06-03 01:12:28 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-03 01:12:28 +0200 |
| commit | b2a4c2e4f650f84a4f22c655a6b504b00fe0f72f (patch) | |
| tree | 6e2a3dc4629533198c3e3a41e9e1b1fea52c9d75 /.github | |
| parent | b4ae243da8846d7ba0a5dd63942f90c857b744ca (diff) | |
build: collect wpt results as json (#10823)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 14 |
1 files changed, 13 insertions, 1 deletions
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' |
