Files
Timmy-time-dashboard/tox.ini

20 lines
725 B
INI

[tox]
envlist = unit, integration
skipsdist = true
[testenv]
allowlist_externals = poetry
commands_pre = poetry install --with dev --quiet
[testenv:unit]
description = Fast unit + integration tests (no Ollama, no external services)
commands = poetry run pytest tests/ -q --tb=short -m "not ollama and not docker and not selenium and not external_api"
[testenv:integration]
description = Same as unit — alias for CI pipelines
commands = poetry run pytest tests/ -q --tb=short -m "not ollama and not docker and not selenium and not external_api"
[testenv:ollama]
description = Live LLM tests via Ollama (requires Ollama running with a tiny model)
commands = poetry run pytest tests/ -q --tb=short -m ollama --timeout=120