-
-
Notifications
You must be signed in to change notification settings - Fork 387
31 lines (30 loc) · 915 Bytes
/
macos.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
on:
push:
branches:
- master
pull_request:
branches:
- master
name: macOS build
jobs:
test-macOS:
runs-on: ${{ matrix.config.os }}
name: ${{ matrix.config.os }} (${{ matrix.config.py }})
strategy:
fail-fast: false
matrix:
config:
- { os: macOS-latest, py: "3.11" }
env:
SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
steps:
- name: CHECKOUT CODE
uses: actions/checkout@v4
- name: SETUP PYTHON
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.config.py }}
- name: Install package
run: pip install .
- name: Test import
run: python -c "import leafmap; print('leafmap import successful')"