#!/usr/bin/env bash set -euo pipefail # Test runner for CommonsGrid prototype # Steps: # 1) Build the package (ensures packaging metadata is sane) # 2) Run pytest tests echo "Running Python build to validate packaging metadata..." python3 -m build echo "Installing package in editable mode for tests..." python3 -m pip install -e . echo "Running test suite..." pytest -q echo "All tests passed."