Skip to content

Commit

Permalink
maybe will work on mac
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesward committed Feb 26, 2024
1 parent 855397e commit 2840ad7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/gradle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,16 @@ jobs:

- uses: gradle/gradle-build-action@v3

- name: Setup docker (missing on MacOS)
- name: Test on Mac
if: matrix.os == 'macos-latest'
run: |
brew install docker
colima start --network-address
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export TESTCONTAINERS_HOST_OVERRIDE=$(colima ls -j | jq -r '.address')
export DOCKER_HOST="unix://${HOME}/.colima/default/docker.sock"
./gradlew test
- name: Test
- name: Test on Ubuntu
run: |
./gradlew test

0 comments on commit 2840ad7

Please sign in to comment.