#!/usr/bin/env bash set -euo pipefail echo "Running unit tests..." # Ensure Python can import the in-repo src layout for tests export PYTHONPATH="${PYTHONPATH:-}:/workspace/repo:/workspace/repo/src" pytest -q echo "Building package..." python3 -m build echo "ALL TESTS AND BUILD PASSED" exit 0