Skip to content

Specify compatibility with NumPy < 2.0 #43

Specify compatibility with NumPy < 2.0

Specify compatibility with NumPy < 2.0 #43

Workflow file for this run

name: Tests
on:
pull_request:
branches: [main]
paths: [ 'pyclugen/**', 'tests/**', 'pyproject.toml', '.github/workflows/tests.yml' ]
push:
branches: [main]
paths: [ 'pyclugen/**', 'tests/**', 'pyproject.toml', '.github/workflows/tests.yml' ]
tags: '*'
jobs:
run-tests:
name: Python ${{ matrix.version }} - ${{ matrix.os }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
version: ['3.8', '3.12']
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Clone repository
uses: actions/checkout@v4
- name: Setup latest Python
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.version }}
- name: Install dependencies
run: |
pip install pip --upgrade
pip install .[dev]
- name: Test with pytest
run: pytest --test-level=fast