Skip to content

Tests

Tests #26

Workflow file for this run

name: Tests
on:
workflow_dispatch:
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- run: python -m pip install -U pip
- run: python -m pip install -e .[test,vis,gpu]
- run: pytest tests/ -v --cov=pyflowreg -k "not test_progress_callback_performance"
- name: Verify MDF support (Windows only)
if: runner.os == 'Windows'
run: python -c "from pyflowreg.util.io.mdf import MDFFileReader; print('MDF support verified')"