Skip to content

Commit

Permalink
Add fix for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
MarhiievHE committed Dec 28, 2023
1 parent 2477a95 commit 151a654
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,13 @@ jobs:
# https://github.com/abiosoft/colima/blob/main/docs/FAQ.md#cannot-connect-to-the-docker-daemon-at-unixvarrundockersock-is-the-docker-daemon-running
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
- name: Setup docker (on Windows)
if: runner.os == 'windows'
run: |
Invoke-WebRequest -Uri https://github.com/stedolan/jq/releases/download/jq-1.6/jq-win64.exe -OutFile jq.exe
.\jq.exe -i '. + {"experimental": true}' C:\ProgramData\Docker\config\daemon.json
type C:\ProgramData\Docker\config\daemon.json
- name: Start docker containers
run: |
docker-compose -f test-docker-compose.yml up -d pg-example redis-example
Expand Down

0 comments on commit 151a654

Please sign in to comment.