mirror of
https://github.com/denoland/deno
synced 2024-08-27 20:09:17 +00: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
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",
|
DENO_BIN: "./target/release/deno",
|
||||||
},
|
},
|
||||||
run: [
|
run: [
|
||||||
"deno run --allow-env --allow-net --allow-read --allow-run \\",
|
"deno run -A --unstable --lock=tools/deno.lock.json \\",
|
||||||
" --allow-write --unstable \\",
|
|
||||||
" --lock=tools/deno.lock.json \\",
|
|
||||||
" ./tests/wpt/wpt.ts setup",
|
" ./tests/wpt/wpt.ts setup",
|
||||||
"deno run --allow-env --allow-net --allow-read --allow-run \\",
|
"deno run -A --unstable --lock=tools/deno.lock.json \\",
|
||||||
" --allow-write --unstable \\",
|
" ./tests/wpt/wpt.ts run --quiet --release \\",
|
||||||
" --lock=tools/deno.lock.json \\",
|
|
||||||
" ./tests/wpt/wpt.ts run --quiet --release \\",
|
|
||||||
' --binary="$DENO_BIN" \\',
|
' --binary="$DENO_BIN" \\',
|
||||||
" --json=wpt.json \\",
|
" --json=wpt.json \\",
|
||||||
" --wptreport=wptreport.json",
|
" --wptreport=wptreport.json",
|
||||||
|
|
10
.github/workflows/ci.yml
vendored
10
.github/workflows/ci.yml
vendored
|
@ -538,14 +538,10 @@ jobs:
|
||||||
env:
|
env:
|
||||||
DENO_BIN: ./target/release/deno
|
DENO_BIN: ./target/release/deno
|
||||||
run: |-
|
run: |-
|
||||||
deno run --allow-env --allow-net --allow-read --allow-run \
|
deno run -A --unstable --lock=tools/deno.lock.json \
|
||||||
--allow-write --unstable \
|
|
||||||
--lock=tools/deno.lock.json \
|
|
||||||
./tests/wpt/wpt.ts setup
|
./tests/wpt/wpt.ts setup
|
||||||
deno run --allow-env --allow-net --allow-read --allow-run \
|
deno run -A --unstable --lock=tools/deno.lock.json \
|
||||||
--allow-write --unstable \
|
./tests/wpt/wpt.ts run --quiet --release \
|
||||||
--lock=tools/deno.lock.json \
|
|
||||||
./tests/wpt/wpt.ts run --quiet --release \
|
|
||||||
--binary="$DENO_BIN" \
|
--binary="$DENO_BIN" \
|
||||||
--json=wpt.json \
|
--json=wpt.json \
|
||||||
--wptreport=wptreport.json
|
--wptreport=wptreport.json
|
||||||
|
|
Loading…
Reference in a new issue