test: add MCP smoke tests over stdio and streamable HTTP, from source and from the built image
ci / gitleaks (push) Successful in 9s
ci / docs-check (push) Failing after 30s
ci / lint (push) Successful in 41s
ci / test-integration (push) Successful in 46s
ci / security (push) Failing after 28s
ci / test-mcp (push) Successful in 1m16s
ci / test-unit (push) Successful in 1m52s
ci / build-and-push (push) Successful in 17s

This commit is contained in:
Latte committed 2026-10-14 16:26:16 +02:00
1 parent cfbf1fb893
commit 5e144772b2
7 files changed
+817

No files matched your search

+5
View File
@@ -86,6 +86,10 @@ ignore = [
"B008", # function calls in argument defaults (pydantic Field style)
]
[tool.ruff.lint.isort]
# tests/mcp is a directory, not the SDK: keep "mcp" classified as third party.
known-third-party = ["mcp"]
[tool.ruff.lint.per-file-ignores]
"__init__.py" = ["F401"]
"tests/integration/harness.py" = [
@@ -129,6 +133,7 @@ pythonpath = ["src"]
asyncio_mode = "auto"
markers = [
"integration: needs a live Gitea in Docker (opt-in via AEGIS_INTEGRATION=1)",
"mcp_smoke: MCP client smoke tests over real transports (opt-in via AEGIS_INTEGRATION=1)",
]
[tool.coverage.run]