Skip to content

Commit 60e615c

Browse files
committed
CI: see if wsl2 works
Signed-off-by: Akihiro Suda <[email protected]>
1 parent 2a1feb2 commit 60e615c

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,11 @@ jobs:
6868

6969
windows:
7070
name: "Windows tests"
71-
runs-on: windows-2022
71+
runs-on: windows-2022-8-cores
7272
timeout-minutes: 30
73+
defaults:
74+
run:
75+
shell: bash
7376
steps:
7477
- uses: actions/checkout@v4
7578
with:
@@ -81,6 +84,14 @@ jobs:
8184
run: go test -v ./...
8285
- name: Make
8386
run: make
87+
- name: Install
88+
run: make install
89+
# FIXME: installing to /usr/local/ doesn't seem correct for Windows
90+
- name: Test
91+
run: |
92+
set -eux -o pipefail
93+
export PATH=/usr/local/bin:$PATH
94+
./hack/test-templates.sh ./templates/experimental/wsl2.yaml
8495
8596
integration:
8697
name: Integration tests

0 commit comments

Comments
 (0)