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
10
.github/workflows/ci.generate.ts
vendored
10
.github/workflows/ci.generate.ts
vendored
|
@ -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",
|
||||
|
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue