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 68a10fa
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,14 +83,17 @@ 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: Install Docker [macOS only]
if: runner.os == 'macos'
run: |
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
- name: Run Colima [macOS only]
if: runner.os == 'macos'
run: colima start --cpu 2 --memory 4 --mount-type 9p
- 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 68a10fa

Please sign in to comment.