#!/usr/bin/env bash
set -euo pipefail
echo "Running tests..."
bash -lc "pytest -q"
echo "Building package (sdist/wheel)..."
python -m build
echo "All tests and build succeeded."