Skip to content

Commit 6b1e109

Browse files
committed
Add docker support for macOS
1 parent 3656988 commit 6b1e109

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,15 @@ jobs:
3131
python-version: ${{ matrix.python-version }}
3232
- name: install deps
3333
run: pip install .[testing]
34+
35+
# Conditional step to install Docker on macOS
36+
- name: Install Docker on macOS
37+
if: runner.os == 'macOS'
38+
run: |
39+
brew install --cask docker
40+
# Start Docker.app
41+
open -a -g /Applications/Docker.app
42+
# Wait for Docker to start
43+
while ! docker system info > /dev/null 2>&1; do sleep 1; done
3444
- run: |
3545
riot run -p ${{ matrix.python-version}} test

0 commit comments

Comments
 (0)