#!/usr/bin/env bash set -euo pipefail # Ensure the repository root is on PYTHONPATH so tests can import the local package export PYTHONPATH="$(pwd):${PYTHONPATH:-}" echo "Running tests..." pytest -q echo "Building package (verify pyproject)..." python3 -m build echo "All tests passed and build completed."