diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index e63b59b9..20f2b54d 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -24,14 +24,26 @@ jobs: - name: Setup docker (missing on MacOS) if: runner.os == 'macos' run: | - brew install docker - brew install docker-compose - mkdir -p ~/.docker/cli-plugins - ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose - colima start - # For testcontainers to find the Colima socket - # 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 + # brew install docker + # brew install docker-compose + # mkdir -p ~/.docker/cli-plugins + # ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose + # docker --version + # dockerd --unprivileged + # docker info + + # colima start + # # For testcontainers to find the Colima socket + # # 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 + + # https://desktop.docker.com/mac/main/arm64/Docker.dmg + #$DI_URL=https://desktop.docker.com/mac/main/amd64/Docker.dmg + curl -o Docker.dmg https://desktop.docker.com/mac/main/amd64/Docker.dmg + # softwareupdate --install-rosetta + sudo hdiutil attach Docker.dmg + sudo /Volumes/Docker/Docker.app/Contents/MacOS/install --accept-license + sudo hdiutil detach /Volumes/Docker - name: Setup pg (on Windows) if: runner.os == 'windows'