Skip to content

fix numpy 2 compatibility, modernize packaging and testing #41

fix numpy 2 compatibility, modernize packaging and testing

fix numpy 2 compatibility, modernize packaging and testing #41

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v5
- name: Install uv and set the Python version
uses: astral-sh/setup-uv@v6
with:
python-version: ${{ matrix.python-version }}
- name: Lint with ruff
run: |
uvx ruff check
- name: Run tests
run: |
uv run -v pytest -v