#!/usr/bin/env bash set -euo pipefail # Run tests and packaging check echo "Setting PYTHONPATH for test environment..." # Ensure repository root is on PYTHONPATH so policy_mesh imports resolve export PYTHONPATH="${PYTHONPATH:+$PYTHONPATH:}/workspace/repo" echo "Running tests..." pytest -q echo "Building package (Python) to verify packaging metadata..." python3 -m build