#!/usr/bin/env bash set -euo pipefail echo "Running tests..." # Ensure the repo root is on PYTHONPATH so local packages are importable export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$PWD" pytest -q echo "Building package..." python3 -m build echo "All tests passed and build completed."