Skip to content

TradingAgents: Multi-Agents LLM Financial Trading Framework

test: run the live integration tests only when asked for

Yijia-Xiaoe44cbbc8eb93
diff --git a/pyproject.toml b/pyproject.toml
index a291e9ef9..c999551f8 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -53,10 +53,10 @@ cli = ["static/*"]
[tool.pytest.ini_options]
testpaths = ["tests"]
-addopts = "-ra --strict-markers"
+addopts = "-ra --strict-markers -m \"not integration\""
markers = [
"unit: fast isolated unit tests",
- "integration: tests requiring external services",
+ "integration: tests requiring external services; run only when asked for, with -m integration",
"smoke: quick sanity-check tests",
]
filterwarnings = [