#!/usr/bin/env bash set -euo pipefail echo "Running Python tests with pytest and packaging sanity check..." pytest -q echo "Pytest completed. Verifying packaging metadata (build)..." python3 -m build >/dev/null 2>&1 || (echo "Build failed"; exit 1) echo "Packaging metadata verified. All tests pass."