Skip to content

Stabilize validation metric scaling and remove hot-loop finite guards #15

Stabilize validation metric scaling and remove hot-loop finite guards

Stabilize validation metric scaling and remove hot-loop finite guards #15

Workflow file for this run

name: Tests (Windows)
on: [push, pull_request]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
runs-on: windows-latest
steps:
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Set up Rust (stable)
uses: dtolnay/rust-toolchain@stable
- name: Install dependencies (Python + Rust bindings)
shell: bash
run: |
python -m venv .venv
source .venv/bin/activate 2>/dev/null || source .venv/Scripts/activate
python -m pip install -U "pip>=22.1.2"
python -m pip install "maturin"
maturin develop
python -m pip install ".[dev]"
- name: Run Rust tests
shell: bash
run: |
cargo test
- name: Run Python tests
shell: bash
run: |
source .venv/bin/activate 2>/dev/null || source .venv/Scripts/activate
pytest -v tests/