-
Notifications
You must be signed in to change notification settings - Fork 920
Expand file tree
/
Copy pathmacos-ci.yml
More file actions
36 lines (28 loc) · 816 Bytes
/
macos-ci.yml
File metadata and controls
36 lines (28 loc) · 816 Bytes
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
32
33
34
35
36
name: Wrap CI for macOS
on: [pull_request]
jobs:
build:
name: Tests for 🐍 ${{ matrix.python-version }}
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install Dependencies
run: |
brew install cmake ninja
- name: Install uv and set the ${{ matrix.python-version }}
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Python Dependencies
run: uv sync --locked --all-extras --dev
- name: Build and Test
run: |
# Build
cmake .
# Use Pytest to run all the tests.
uv run pytest tests