Cmake version and CI python version upgrades #227
Workflow file for this run
This file contains hidden or 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
| 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 boost | |
| - 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 |