#!/usr/bin/env bash set -euo pipefail echo "Running Python tests with pytest..." # Ensure the repository root is on PYTHONPATH so tests can import the package export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}$(pwd)" pytest -q echo "Building Python package..." python3 -m build echo "ALL TESTS PASSED"