Skip to content

Commit

Permalink
Start colima manually
Browse files Browse the repository at this point in the history
  • Loading branch information
gabfssilva committed Feb 26, 2024
1 parent 6997683 commit f4f543d
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,16 @@ jobs:

steps:
- uses: actions/checkout@v4
- name: Setup Docker [macOS only]
if: ${{ matrix.containers && matrix.runner == 'macos-latest' }}
uses: douglascamata/setup-docker-macos-action@v1-alpha
- name: Run docker-compose [if needed] [macOS only]
if: ${{ matrix.containers && matrix.runner == 'macos-latest' }}
run: docker-compose up ${{ matrix.containers }} -d
- name: Run colima & setup Docker [macOS only]
if: runner.os == 'macos'
run: |
colima start --mount-type 9p &
brew install docker docker-compose
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
wait < <(jobs -p)
- name: Run docker-compose [if needed]
if: ${{ matrix.containers && matrix.runner != 'macos-latest' }}
if: ${{ matrix.containers }}
run: docker compose up ${{ matrix.containers }} -d
- name: Set up JDK 17
uses: actions/setup-java@v4
Expand Down

0 comments on commit f4f543d

Please sign in to comment.