1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00

fix: update CLI flags for WPT (#23501)

Fixes #23500
This commit is contained in:
Asher Gomez 2024-04-23 12:47:45 +10:00 committed by GitHub
parent c67c87b2ae
commit 5236fd0dad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 17 deletions

View file

@ -862,13 +862,9 @@ const ci = {
DENO_BIN: "./target/debug/deno",
},
run: [
"deno run --allow-env --allow-net --allow-read --allow-run \\",
" --allow-write --unstable \\",
" --lock=tools/deno.lock.json \\",
"deno run -A --unstable --lock=tools/deno.lock.json \\",
" ./tests/wpt/wpt.ts setup",
"deno run --allow-env --allow-net --allow-read --allow-run \\",
" --allow-write --unstable \\",
" --lock=tools/deno.lock.json \\",
"deno run -A --unstable --lock=tools/deno.lock.json \\",
' ./tests/wpt/wpt.ts run --quiet --binary="$DENO_BIN"',
].join("\n"),
},

View file

@ -526,13 +526,9 @@ jobs:
env:
DENO_BIN: ./target/debug/deno
run: |-
deno run --allow-env --allow-net --allow-read --allow-run \
--allow-write --unstable \
--lock=tools/deno.lock.json \
deno run -A --unstable --lock=tools/deno.lock.json \
./tests/wpt/wpt.ts setup
deno run --allow-env --allow-net --allow-read --allow-run \
--allow-write --unstable \
--lock=tools/deno.lock.json \
deno run -A --unstable --lock=tools/deno.lock.json \
./tests/wpt/wpt.ts run --quiet --binary="$DENO_BIN"
- name: Run web platform tests (release)
if: '!(matrix.skip) && (matrix.wpt && matrix.profile == ''release'')'

View file

@ -66,12 +66,10 @@ jobs:
- name: Run web platform tests
shell: bash
run: |
deno run --unstable --allow-write --allow-read --allow-net \
--allow-env --allow-run --lock=tools/deno.lock.json \
deno run --unstable -A --lock=tools/deno.lock.json \
./tests/wpt/wpt.ts setup
deno run --unstable --allow-write --allow-read --allow-net \
--allow-env --allow-run --lock=tools/deno.lock.json \
./tests/wpt/wpt.ts run \ \
deno run --unstable -A --lock=tools/deno.lock.json \
./tests/wpt/wpt.ts run \ \
--binary=$(which deno) --quiet --release --no-ignore --json=wpt.json --wptreport=wptreport.json --exit-zero
- name: Upload wpt results to wpt.fyi