#!/usr/bin/env bash
set -euo pipefail
export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$PWD/src"
echo "Running tests (pytest)"
pytest -q
echo "Building package (python -m build)"
python3 -m build
echo "All tests passed and package built."