Skip to content

Commit

Permalink
ci/gha: enable macos
Browse files Browse the repository at this point in the history
  • Loading branch information
kba committed Jan 22, 2024
1 parent 00eb1b2 commit 547d216
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,26 @@ jobs:
- '3.10'
- '3.11'
os:
- ubuntu-latest
# - macos-latest
- ubuntu-22.04
- ubuntu-20.04
- macos-latest

steps:
- uses: actions/checkout@v3
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get -y update
if test "${{ matrix.os }}" = "ubuntu-latest";then
if [[ "${{ matrix.os }}" == "ubuntu"* ]];then
sudo apt-get -y update
sudo make deps-ubuntu
else
brew install imagemagick geos bash opencv
fi
make install deps-test
- name: Test with pytest
Expand Down

0 comments on commit 547d216

Please sign in to comment.