From 2840ad782d2b48a5983e619ae8df21425183e522 Mon Sep 17 00:00:00 2001 From: James Ward Date: Mon, 26 Feb 2024 13:40:27 -0700 Subject: [PATCH] maybe will work on mac --- .github/workflows/gradle.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml index 4c9fc64a..f3a7966d 100644 --- a/.github/workflows/gradle.yml +++ b/.github/workflows/gradle.yml @@ -22,7 +22,7 @@ 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 @@ -30,7 +30,8 @@ jobs: 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