Skip to content

Use scikit-build-core and CMake instead of setuptools #67

Use scikit-build-core and CMake instead of setuptools

Use scikit-build-core and CMake instead of setuptools #67

Workflow file for this run

name: Python package
on: [push, pull_request]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: [
'3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.8', 'pypy-3.9'
]
exclude:
- { python-version: "3.7", os: "macos-latest" }
include:
# Python 3.7 is on macos-13 but not macos-latest (macos-14-arm64)
# https://github.com/actions/setup-python/issues/696#issuecomment-1637587760
- { python-version: "3.7", os: "macos-13" }
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch tags for setuptools-scm
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install pytest
python -m pip install .
- name: Test
run: |
python -m pytest -v --assert=plain ./tests