forked from Rockachopa/Timmy-time-dashboard
Wire orchestrator pipe into task runner + pipe-verifying integration tests (#134)
This commit is contained in:
committed by
GitHub
parent
d10cff333a
commit
87dc5eadfe
19
tox.ini
Normal file
19
tox.ini
Normal file
@@ -0,0 +1,19 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user