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:
parent
5ff881a073
commit
f270e41aae
2 changed files with 6 additions and 14 deletions
8
.github/workflows/ci.generate.ts
vendored
8
.github/workflows/ci.generate.ts
vendored
|
@ -881,13 +881,9 @@ 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 \\",
|
||||
"deno run -A --unstable --lock=tools/deno.lock.json \\",
|
||||
" ./tests/wpt/wpt.ts run --quiet --release \\",
|
||||
' --binary="$DENO_BIN" \\',
|
||||
" --json=wpt.json \\",
|
||||
|
|
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -538,13 +538,9 @@ 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 \
|
||||
deno run -A --unstable --lock=tools/deno.lock.json \
|
||||
./tests/wpt/wpt.ts run --quiet --release \
|
||||
--binary="$DENO_BIN" \
|
||||
--json=wpt.json \
|
||||
|
|
Loading…
Reference in a new issue