#!/usr/bin/env bash
set -euo pipefail
export PYTHONPATH="${PYTHONPATH:-}":"./" # ensure repo root is in path for imports
echo "Running unit tests..."
pytest -q
echo "Building package..."
python3 -m build
echo "All tests passed and package built."