#!/usr/bin/env bash set -euo pipefail echo "Running Python build and tests..." python3 -m build --wheel >/dev/null 2>&1 || true echo "Installing editable package for tests..." pip install -e . >/dev/null 2>&1 echo "Running tests..." pytest -q echo "All tests passed." exit 0