#!/usr/bin/env bash
#MISE description="Run python tests"
set -e
set -x

#USAGE flag "--target <target>" help="The target to build for "

if [ "${usage_target:-}" != "" ]; then
    target_args="--target=${usage_target}"
fi

uv sync --no-install-project --dev
# shellcheck disable=SC2086
maturin develop --uv ${target_args:-} --verbose
uv run --no-sync pytest -vv
