Skip to content

Commit 39261c5

Browse files
Try to fix wsl
Signed-off-by: Yury-Fridlyand <[email protected]>
1 parent da7f600 commit 39261c5

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -99,20 +99,16 @@ jobs:
9999
- name: Run service in WSL for windows runner
100100
if: ${{ matrix.host.OS == 'windows' }}
101101
shell: bash
102-
# working-directory: valkey-glide/utils
102+
working-directory: valkey-glide/utils
103103
run: |
104104
echo $GITHUB_ENV
105105
wsl bash << EOF
106106
set -e
107-
echo $PWD
108-
ls
109-
cd valkey-glide/utils
110-
echo $PWD
111-
ls
112-
python3 ./cluster_manager.py start -p 6380
107+
wslpath $GITHUB_ENV
108+
python3 ./cluster_manager.py start -p 6380 6381
113109
python3 ./cluster_manager.py start --cluster-mode -p 7000 7001 7002 7003 7004 7005
114-
echo "standalone-endpoints=localhost:6380" >> $GITHUB_ENV
115-
echo "cluster-endpoints=localhost:7000" >> $GITHUB_ENV
110+
echo "standalone-endpoints=localhost:6380" >> `(wslpath $GITHUB_ENV)`
111+
echo "cluster-endpoints=localhost:7000" >> `(wslpath $GITHUB_ENV)`
116112
EOF
117113
118114
- name: Test dotnet ${{ matrix.dotnet }}

0 commit comments

Comments
 (0)