Skip to content

Speed up CI: native ARM runner, single macOS builder, minimal test deps #36

Speed up CI: native ARM runner, single macOS builder, minimal test deps

Speed up CI: native ARM runner, single macOS builder, minimal test deps #36

name: CI
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: true
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install system dependencies (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y libopenblas-dev liblapack-dev
- name: Build and install
run: |
python -m pip install --upgrade pip
pip install -e ".[test]"
- name: Test with pytest
run: pytest tests/ -v