Files
xmarre e14df5fa71 Release v1.0.6: publish Spectrum H3 compatibility contract (#9)
Publish the producer half of the versioned MiniMax H3 Diff-Aid ↔ Spectrum contract, including exact float32 normalized-sigma runtime metadata, hard-window boundary semantics, stacked-patch ordering, import/install hardening, coordinated real-runtime validation, and the v1.0.6 registry version bump.
2026-08-16 07:11:41 +02:00

43 lines
1.0 KiB
YAML

name: tests
on:
push:
branches: [main]
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
jobs:
unit:
runs-on: ubuntu-latest
steps:
- name: Check out custom node
uses: actions/checkout@v4
with:
persist-credentials: false
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install test dependencies
run: |
python -m pip install --upgrade pip
python -m pip install torch --index-url https://download.pytorch.org/whl/cpu
python -m pip install pytest ruff
- name: Run Ruff and compileall
run: |
python -m ruff check spectrum_h3_compat.py tests/test_spectrum_h3_compat.py --ignore I001,TRY004
python -m compileall -q nodes.py spectrum_h3_compat.py tests
- name: Run full test suite
run: python -m pytest -q