Skip to content

Commit 5b454be

Browse files
committed
CI: see if wsl2 works
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
1 parent 2a1feb2 commit 5b454be

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/test.yml

+14-1
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,14 @@ 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:
77+
- run: |
78+
wsl --list --verbose
7479
- uses: actions/checkout@v4
7580
with:
7681
fetch-depth: 1
@@ -81,6 +86,14 @@ jobs:
8186
run: go test -v ./...
8287
- name: Make
8388
run: make
89+
- name: Install
90+
run: make install
91+
# FIXME: installing to /usr/local/ doesn't seem correct for Windows
92+
- name: Test
93+
run: |
94+
set -eux -o pipefail
95+
export PATH=/usr/local/bin:$PATH
96+
./hack/test-templates.sh ./templates/experimental/wsl2.yaml
8497
8598
integration:
8699
name: Integration tests

0 commit comments

Comments
 (0)