1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00

ci: use -A for wpt script (#23631)

Fixes CI. The wpt setup script writes to `/etc/hosts` which now needs
`--allow-all`. We use the latest release for the deno binary there so
it's only impacted as of the 1.43.0 release.
This commit is contained in:
Nayeem Rahman 2024-05-01 16:15:29 +01:00 committed by GitHub
parent 5ff881a073
commit f270e41aae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 14 deletions

View file

@ -881,14 +881,10 @@ const ci = {
DENO_BIN: "./target/release/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 \\",
" ./tests/wpt/wpt.ts run --quiet --release \\",
"deno run -A --unstable --lock=tools/deno.lock.json \\",
" ./tests/wpt/wpt.ts run --quiet --release \\",
' --binary="$DENO_BIN" \\',
" --json=wpt.json \\",
" --wptreport=wptreport.json",

View file

@ -538,14 +538,10 @@ jobs:
env:
DENO_BIN: ./target/release/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 \
./tests/wpt/wpt.ts run --quiet --release \
deno run -A --unstable --lock=tools/deno.lock.json \
./tests/wpt/wpt.ts run --quiet --release \
--binary="$DENO_BIN" \
--json=wpt.json \
--wptreport=wptreport.json