|
name: pytest |
|
|
|
on: |
|
- push |
|
- pull_request |
|
|
|
jobs: |
|
build: |
|
strategy: |
|
matrix: |
|
python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] |
|
os: ["ubuntu-latest", "windows-latest", "macos-latest"] |
|
runs-on: ${{ matrix.os }} |
|
|
|
steps: |
|
- uses: actions/checkout@v4 |
|
- 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 numpy pandas |
|
- name: Run tests |
|
run: | |
|
pytest -v --doctest-modules --ignore benchmark/benchmark.py |