summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorLuca Casonato <lucacasonato@yahoo.com>2021-01-24 22:29:36 +0100
committerGitHub <noreply@github.com>2021-01-24 22:29:36 +0100
commit66e99d349b31f5cd30b868d80ebdab6ba749fd96 (patch)
tree2fdf22255cb15a750574d37b33de2a4637d62a5e /.github/workflows
parentfeff6361b1247c82bb86aedfea349b04899b9610 (diff)
tests: enable wpt for url (#9046)
Diffstat (limited to '.github/workflows')
-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