diff options
author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-07-11 16:30:32 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-11 17:30:32 +0200 |
commit | 12df9f367926ef73223a0aebd2e4dc0aaec4774e (patch) | |
tree | d7e7b2b7e22e43c0c00a05ca8ff453aa076fb08d | |
parent | 018ad9b3a4f2e5c8597274f61262c6035bdb560d (diff) |
chore(ci): Run wpt launcher with preinstalled Deno (#15098)
-rw-r--r-- | .github/workflows/ci.yml | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7e074a282..8ae178c6f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -87,7 +87,7 @@ jobs: - uses: dtolnay/rust-toolchain@stable - name: Install Deno - if: matrix.job == 'lint' + if: matrix.job == 'lint' || matrix.job == 'test' uses: denoland/setup-deno@v1 with: deno-version: v1.x @@ -433,14 +433,14 @@ jobs: env: DENO_BIN: ./target/debug/deno run: | - "$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \ - --allow-write --unstable \ - --lock=tools/deno.lock.json \ - ./tools/wpt.ts setup - "$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \ - --allow-write --unstable \ - --lock=tools/deno.lock.json \ - ./tools/wpt.ts run --quiet --binary="$DENO_BIN" + deno run --allow-env --allow-net --allow-read --allow-run \ + --allow-write --unstable \ + --lock=tools/deno.lock.json \ + ./tools/wpt.ts setup + deno run --allow-env --allow-net --allow-read --allow-run \ + --allow-write --unstable \ + --lock=tools/deno.lock.json \ + ./tools/wpt.ts run --quiet --binary="$DENO_BIN" - name: Run web platform tests (release) if: | @@ -449,17 +449,17 @@ jobs: env: DENO_BIN: ./target/release/deno run: | - "$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \ - --allow-write --unstable \ - --lock=tools/deno.lock.json \ - ./tools/wpt.ts setup - "$DENO_BIN" run --allow-env --allow-net --allow-read --allow-run \ - --allow-write --unstable \ - --lock=tools/deno.lock.json \ - ./tools/wpt.ts run --quiet --release \ - --binary="$DENO_BIN" \ - --json=wpt.json \ - --wptreport=wptreport.json + deno run --allow-env --allow-net --allow-read --allow-run \ + --allow-write --unstable \ + --lock=tools/deno.lock.json \ + ./tools/wpt.ts setup + deno run --allow-env --allow-net --allow-read --allow-run \ + --allow-write --unstable \ + --lock=tools/deno.lock.json \ + ./tools/wpt.ts run --quiet --release \ + --binary="$DENO_BIN" \ + --json=wpt.json \ + --wptreport=wptreport.json - name: Upload wpt results to dl.deno.land continue-on-error: true @@ -603,4 +603,4 @@ jobs: - name: Upload canary version file to dl.deno.land run: | echo ${{ github.sha }} > canary-latest.txt - gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt
\ No newline at end of file + gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs://dl.deno.land/canary-latest.txt |