Skip to content

Commit

Permalink
Add docker support for macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle-Verhoog committed Feb 17, 2024
1 parent 3656988 commit 6b1e109
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,15 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: install deps
run: pip install .[testing]

# Conditional step to install Docker on macOS
- name: Install Docker on macOS
if: runner.os == 'macOS'
run: |
brew install --cask docker
# Start Docker.app
open -a -g /Applications/Docker.app
# Wait for Docker to start
while ! docker system info > /dev/null 2>&1; do sleep 1; done
- run: |
riot run -p ${{ matrix.python-version}} test

0 comments on commit 6b1e109

Please sign in to comment.