#!/usr/bin/env bash
#
# Run tests for all supported Python versions
#
# Copyright 2025 Google LLC
# SPDX-License-Identifier: Apache-2.0
set -euo pipefail
TOP_DIR=$(git rev-parse --show-toplevel)
PYTHON_VERSIONS=(
"3.12"
"3.13"
)
for VERSION in "${PYTHON_VERSIONS[@]}"; do
echo "Running tests with Python ${VERSION}..."
uv run --python "python${VERSION}" --directory "${TOP_DIR}/py" pytest .
done