#!/usr/bin/env bash set -eu echo "Running pytest..." # ensure local src path is importable for tests export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$(pwd)/src" pytest -q echo "Building package..." python3 -m build echo "All tests and build succeeded."