auto-sync: 2026-06-08 23:37:25

This commit is contained in:
cfdaily
2026-06-08 23:37:25 +08:00
parent 12f03e48a4
commit 339519a062
3 changed files with 15 additions and 4 deletions
+8
View File
@@ -55,6 +55,14 @@ def client_with_isolation(isolated_data_root):
# ── E2E gate ──
def pytest_collection_modifyitems(config, items):
if not os.environ.get("RUN_INTEGRATION"):
skip = pytest.mark.skip(reason="needs RUN_INTEGRATION=1")
for item in items:
if "integration" in item.keywords or "e2e" in item.keywords:
item.add_marker(skip)
skip_no_integration = pytest.mark.skipif(
not os.environ.get("RUN_INTEGRATION"),
reason="Set RUN_INTEGRATION=1 to run E2E tests against real daemon",