Skip to content

Commit

Permalink
gha: macos: set colima as default docker host
Browse files Browse the repository at this point in the history
  • Loading branch information
efiop committed Sep 22, 2023
1 parent be3ed1f commit 67cd045
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ jobs:
- name: Lint code and check dependencies
run: nox -s lint safety

# https://github.com/abiosoft/colima/issues/468
- name: Use colima as default docker host on MacOS
if: matrix.os == 'macos-latest'
run: |
brew install docker
colima start
ls -la $HOME/.colima/default/docker.sock
sudo ln -sf $HOME/.colima/default/docker.sock /var/run/docker.sock
ls -la /var/run/docker.sock
- name: Run tests
run: nox -s tests-${{ matrix.nox_pyv || matrix.pyv }}
env:
Expand Down

0 comments on commit 67cd045

Please sign in to comment.