diff options
| author | Luca Casonato <lucacasonato@yahoo.com> | 2021-06-07 17:41:33 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-07 17:41:33 +0200 |
| commit | 7b9c59fd71f8aae60d7833a176f0566e1a8cfe4f (patch) | |
| tree | 7305009c4cb31b59f38e2dca6a16df8f189f6dee /.github | |
| parent | b6400a25a0ee60467a0287d725e61c876677e103 (diff) | |
tests: upload WPT reports to wpt.fyi (#10883)
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b86d54d68..b64b45ef6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -308,6 +308,7 @@ jobs: 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 --json=wpt.json --wptreport=wptreport.json + gzip ./wptreport.json - name: Upload wpt results to dl.deno.land if: | @@ -318,10 +319,24 @@ jobs: github.ref == 'refs/heads/main' run: | gsutil cp ./wpt.json gs://dl.deno.land/wpt/$(git rev-parse HEAD).json - gsutil cp ./wptreport.json gs://dl.deno.land/wpt/$(git rev-parse HEAD)-wptreport.json + gsutil cp ./wptreport.json.gz gs://dl.deno.land/wpt/$(git rev-parse HEAD)-wptreport.json.gz echo $(git rev-parse HEAD) > wpt-latest.txt gsutil cp wpt-latest.txt gs://dl.deno.land/wpt-latest.txt + - name: Upload wpt results to wpt.fyi + if: | + runner.os == 'Linux' && + matrix.kind == 'test' && + matrix.profile == 'release' && + github.repository == 'denoland/deno' && + github.ref == 'refs/heads/main' + env: + WPT_FYI_STAGING_USER: ${{ secrets.WPT_FYI_STAGING_USER }} + WPT_FYI_STAGING_PW: ${{ secrets.WPT_FYI_STAGING_PW }} + GITHUB_TOKEN: ${{ secrets.DENOBOT_PAT }} + run: | + deno run -A ./tools/upload_wptfyi.js $(git rev-parse HEAD) --ghstatus + - name: Run web platform tests (debug) if: startsWith(matrix.os, 'ubuntu') && matrix.kind == 'test' && matrix.profile == 'debug' run: | |
