Skip to content

Adjust benchmark samples and CI config #4

Adjust benchmark samples and CI config

Adjust benchmark samples and CI config #4

Workflow file for this run

name: test
on:
push:
paths-ignore:
- 'README.rst'
pull_request:
types: [ opened, synchronize ]
paths-ignore:
- 'README.rst'
workflow_dispatch:
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
python-version: [ '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.9', 'pypy-3.10' ]
os: [ubuntu-latest, macOS-latest, windows-latest]
name: Tests - ${{ matrix.python-version }} - ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
- name: Install test dependencies
run: |
python -m pip install -e .
python -m pip install pytest
- name: Run tests on ${{ matrix.python-version }}
run: |
python -m pytest tests