summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index cb3a9e440..f5fc1aa81 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -224,6 +224,16 @@ jobs:
echo $(git rev-parse HEAD) > canary-latest.txt
gsutil cp canary-latest.txt gs://dl.deno.land/canary-latest.txt
+ - name: Configure hosts file for WPT (unix)
+ if: runner.os != 'Windows'
+ run: ./wpt make-hosts-file | sudo tee -a /etc/hosts
+ working-directory: test_util/wpt/
+
+ - name: Configure hosts file for WPT (windows)
+ if: runner.os == 'Windows'
+ working-directory: test_util/wpt/
+ run: python wpt make-hosts-file | Out-File $env:SystemRoot\System32\drivers\etc\hosts -Encoding ascii -Append
+
- name: Test release
if: matrix.kind == 'test_release'
run: cargo test --release --locked --all-targets