diff --git a/py/bin/run_tests b/py/bin/run_tests index 26a481e34..ffb64b9e1 100755 --- a/py/bin/run_tests +++ b/py/bin/run_tests @@ -6,11 +6,11 @@ set -euo pipefail TOP_DIR=$(git rev-parse --show-toplevel) PYTHON_VERSIONS=( - "3.12" - "3.13" + "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 . + echo "Running tests with Python ${VERSION}..." + uv run --python "python${VERSION}" --directory "${TOP_DIR}/py" pytest . done diff --git a/py/pyproject.toml b/py/pyproject.toml index f17e58c60..f220c1d4a 100644 --- a/py/pyproject.toml +++ b/py/pyproject.toml @@ -46,6 +46,9 @@ python_files = [ ] testpaths = ["packages", "plugins", "samples"] +[tool.pytest.ini_options] +addopts = "--cov --cov-fail-under=70" + # uv based package management. [tool.uv] default-groups = ["dev", "lint"]