Add a few tests, refactoring (#44) #68
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
name: macOS build | |
jobs: | |
test-macOS: | |
runs-on: ${{ matrix.os }} | |
name: ${{ matrix.os }} (${{ matrix.python-version}}) | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["macOS-latest"] | |
python-version: ["3.10"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: ${{ matrix.python-version}} | |
- name: Install GDAL | |
run: | | |
brew install gdal | |
- name: Test GDAL installation | |
run: | | |
gdalinfo --version | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install --no-cache-dir Cython | |
pip install -r requirements.txt | |
pip install . |