test: sweep every tool through the MCP server against a seeded Gitea

This commit is contained in:
Latte committed 2026-10-14 17:57:54 +02:00
1 parent 22c8157ca4
commit 303bd9aa21
7 files changed
+1759 -1

No files matched your search

+4
View File
@@ -272,6 +272,8 @@ def _gitea_env(root_url: str) -> dict[str, str]:
"GITEA__security__INSTALL_LOCK": "true",
"GITEA__security__SECRET_KEY": secrets.token_hex(32),
"GITEA__security__INTERNAL_TOKEN": secrets.token_hex(32),
# Repository hook scripts are editable through the API (site admins only) when enabled.
"GITEA__security__DISABLE_GIT_HOOKS": "false",
"GITEA__server__ROOT_URL": root_url,
"GITEA__server__HTTP_PORT": str(GITEA_PORT),
"GITEA__server__DISABLE_SSH": "true",
@@ -285,6 +287,8 @@ def _gitea_env(root_url: str) -> dict[str, str]:
"GITEA__repository__ENABLE_PUSH_CREATE_ORG": "false",
"GITEA__mailer__ENABLED": "false",
"GITEA__webhook__ALLOWED_HOST_LIST": "*",
# Lets repository migration and mirrors use this very instance as their remote.
"GITEA__migrations__ALLOW_LOCALNETWORKS": "true",
"GITEA__packages__ENABLED": "true",
"GITEA__api__MAX_RESPONSE_ITEMS": "50",
}