Introduce centralized defaults, add streaming HTTP body-size middleware, and improve error handling with tests #9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ['3.10', '3.11', '3.12'] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[dev,release] | |
| - name: Compile | |
| run: python -m compileall hyperquant | |
| - name: Native FWHT smoke test | |
| run: | | |
| python - <<'PY' | |
| from hyperquant.native_core import build_native_fwht | |
| print(build_native_fwht(force=True)) | |
| PY | |
| - name: Test | |
| run: pytest -q | |
| - name: Build distributions | |
| run: python -m build | |
| - name: Proof pack smoke test | |
| if: matrix.python-version == '3.11' | |
| run: | | |
| python scripts/build_proof_pack.py --skip-tests --iterations 1 --warmup 0 --slice-iterations 1 |