#!/usr/bin/env bash set -euo pipefail cd "$(dirname "${BASH_SOURCE[0]}")/.." if [[ -n ${TEST_PYTHON:-} ]]; then "$TEST_PYTHON" -m unittest discover -s tests -p 'test_*.py' -v else uv venv --python 3.11 --allow-existing .venv uv pip sync --python .venv/bin/python tests/requirements.txt .venv/bin/python -m unittest discover -s tests -p 'test_*.py' -v fi