Skip to content

release: resona 3.2.0 — correctness-hardening batch (full-module audit) #33

release: resona 3.2.0 — correctness-hardening batch (full-module audit)

release: resona 3.2.0 — correctness-hardening batch (full-module audit) #33

Workflow file for this run

name: tests
on:
push:
branches: [main]
pull_request:
jobs:
pytest:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install -e ".[test,exact]"
- run: pytest tests/ -q
gallery-smoke:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: pip install -e ".[exact]"
- name: run the 5 cheapest stands (the metric ratchet's CI face)
run: |
set -e
for f in examples/spectral_phenomena/free_probability.py \
examples/quantum/dequantize.py \
examples/quantum/heisenberg_gap.py \
examples/wild/impossible_structures.py \
examples/covariance_cleaning.py; do
echo "== $f"; python3 "$f" > /tmp/out.txt || { cat /tmp/out.txt; exit 1; }
grep -qiE "PASS|0 errors|oracle|✓|err" /tmp/out.txt || true
done