mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 12:28:50 +00:00
Revert: chore: fail properly in web platform test
The previous behaviour was correct. The process exit code does not matter, because failures are expected (we are running all tests here intentionally, even failing ones). This is done so we can report both success and failure accurately to wpt.fyi.
This commit is contained in:
parent
ebc22d9d7e
commit
85b7dbc65b
7
.github/workflows/wpt_epoch.yml
vendored
7
.github/workflows/wpt_epoch.yml
vendored
@ -65,14 +65,17 @@ jobs:
|
||||
|
||||
- name: Run web platform tests
|
||||
shell: bash
|
||||
# Setup WPT and run tests. We ignore the exit code of the test run
|
||||
# because the CI job reports the results to WPT.fyi, and we still want
|
||||
# to report failure.
|
||||
run: |
|
||||
deno run --unstable --allow-write --allow-read --allow-net \
|
||||
--allow-env --allow-run --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 \ \
|
||||
--binary=$(which deno) --quiet --release --no-ignore --json=wpt.json --wptreport=wptreport.json
|
||||
./tests/wpt/wpt.ts run \
|
||||
--binary=$(which deno) --quiet --release --no-ignore --json=wpt.json --wptreport=wptreport.json || true
|
||||
|
||||
- name: Upload wpt results to wpt.fyi
|
||||
env:
|
||||
|
Loading…
Reference in New Issue
Block a user