Skip to content

Commit

Permalink
Disable the macos-13 runner for integration tests.
Browse files Browse the repository at this point in the history
Only run the integration tests on Linux. There are just not enough
resources available on the macos-13 runner to reliably run tests using
colima.

Signed-off-by: Thomas Hallgren <[email protected]>
  • Loading branch information
thallgren committed Aug 17, 2024
1 parent f5d7d47 commit 4ff062b
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,9 @@ jobs:
matrix:
runners:
- ubuntu-latest
- macos-13 # use macos-latest once that runner (which is arm64) supports virtualization.
# Re-enable when virtualization is available so that WSL2 can be used and docker has a linux container daemon.
# Re-enable when we can run a proper cluster. Colima almost works on macOS but the very limited
# resources available make the test fail very often. On windows, we'll need WSL2
# - macos-latest
# - windows-latest
runs-on: ${{ matrix.runners }}
needs: build_images
Expand All @@ -77,13 +78,6 @@ jobs:
- name: Start minikube
if: runner.os == 'Linux'
uses: medyagh/setup-minikube@latest
- name: Start colima
if: runner.os == 'macOS'
shell: bash
run: |
brew install kubectl docker colima
# the macos-13 runner has 4 cpus, 14 GiB memory, and 14 GiB disk
colima start --kubernetes --cpu 2 --memory 6 --disk 10
- name: Install Argo Rollouts
shell: bash
run: |
Expand Down

0 comments on commit 4ff062b

Please sign in to comment.