Skip to content

Commit

Permalink
chore(ci): Run wpt launcher with preinstalled Deno (denoland#15098)
Browse files Browse the repository at this point in the history
  • Loading branch information
nayeemrmn committed Jul 11, 2022
1 parent 018ad9b commit 12df9f3
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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: |
Expand All @@ -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
Expand Down Expand Up @@ -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:https://dl.deno.land/canary-latest.txt
gsutil -h "Cache-Control: no-cache" cp canary-latest.txt gs:https://dl.deno.land/canary-latest.txt

0 comments on commit 12df9f3

Please sign in to comment.