Add coverage dependency to 'unit' group in pyproject.toml file

This commit is contained in:
ChristianZaccaria 2025-07-07 11:41:18 +01:00
parent 463de5cce9
commit 24a4a1e167
3 changed files with 3 additions and 5 deletions

View file

@ -16,9 +16,6 @@ if [ $FOUND_PYTHON -ne 0 ]; then
uv python install "$PYTHON_VERSION"
fi
# Install coverage if not installed
uv pip install coverage >/dev/null 2>&1
uv run --python "$PYTHON_VERSION" --with-editable . --group unit \
coverage run --source=llama_stack -m pytest -s -v tests/unit/ "$@" && \
uv run --python "$PYTHON_VERSION" coverage html -d htmlcov-$PYTHON_VERSION