diff options
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: | |
