Skip to content

Commit 5c9ea6c

Browse files
committed
run macOS tests only on schedule
1 parent e8c5753 commit 5c9ea6c

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

.github/workflows/integration-test.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,17 @@ jobs:
4242
python-version: 3.11
4343

4444
- name: Docker setup (macos only)
45-
if: ${{ runner.os == 'macOS' }} # && ${{ github.event_name == 'schedule' }}
45+
if: ${{ runner.os == 'macOS' }} && ${{ github.event_name == 'schedule' }}
4646
run: |
47-
brew install colima
48-
brew install docker
49-
colima start
47+
arch=$(uname -m)
48+
if [ "$arch" = "arm64" ]; then
49+
echo "Installing Colima and Docker for macOS ARM64"
50+
brew install colima
51+
brew install docker
52+
colima start
53+
else
54+
echo "Skipping Docker setup on non-macOS runner"
55+
fi
5056
5157
- name: Set up Project
5258
run: |

0 commit comments

Comments
 (0)