feat(tests): allow cleanup of stray artifacts for local integration test runs

This commit is contained in:
Emilio Garcia 2025-10-09 10:40:42 -04:00
parent 05a62a6ffb
commit a0e6c8d383
3 changed files with 65 additions and 2 deletions

View file

@ -138,6 +138,11 @@ def pytest_addoption(parser):
),
)
parser.addoption("--env", action="append", help="Set environment variables, e.g. --env KEY=value")
parser.addoption(
"--clean-artifacts",
action="store_true",
help="Clean up all artifacts (databases, logs, batch input/output files) after test execution",
)
parser.addoption(
"--text-model",
help="comma-separated list of text models. Fixture name: text_model_id",