diff options
| author | Luca Casonato <lucacasonato@yahoo.com> | 2021-06-06 18:08:50 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-06-06 18:08:50 +0200 |
| commit | f1deed41e7cc04440a5fb8cdae486ae00513a361 (patch) | |
| tree | e8f6e0aa24e490bee09194f31e2dac8c22867612 /.github | |
| parent | 5bd77f29e5d07af10fe9a24062c3b5b4bb79f4bf (diff) | |
tests: generate and upload wptreport.json (#10869)
These reports can be consumed by tools like `wptreport` or
https://wpt.fyi. The old style report could be removed in a future PR
when wpt.deno.land is updated.
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 91cbf53ae..b86d54d68 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -177,8 +177,7 @@ jobs: ~/.cargo/registry/index ~/.cargo/registry/cache ~/.cargo/git/db - key: - a-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }} + key: a-cargo-home-${{ matrix.os }}-${{ hashFiles('Cargo.lock') }} # In main branch, always creates fresh cache - name: Cache build output (main) @@ -308,7 +307,7 @@ 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 --json=wpt.json + 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 - name: Upload wpt results to dl.deno.land if: | @@ -319,6 +318,7 @@ 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 echo $(git rev-parse HEAD) > wpt-latest.txt gsutil cp wpt-latest.txt gs://dl.deno.land/wpt-latest.txt @@ -407,4 +407,3 @@ jobs: rm -rf target/*/examples/ rm -rf target/*/gn_out/ rm -rf target/*/*.zip - |
