Files
2026-01-02 14:44:32 +01:00

20 lines
335 B
Bash
Executable File

#!/usr/bin/env bash
# Run pytest with coverage
set -e
cd "$(dirname "$0")/.."
# Activate virtual environment if present
if [ -f ".venv/bin/activate" ]; then
# shellcheck disable=SC1091
. .venv/bin/activate
fi
pytest tests/ \
--cov=custom_components.garmin_connect \
--cov-report=term-missing \
--cov-report=html \
-v \
"$@"