Run Gitea CI in host mode, and add uvicorn to the dev extra
Every Gitea Actions run failed in actions/checkout: the stpvm runner is registered against http://localhost:3000, which an ubuntu-latest job container can't reach. Add .gitea/workflows/ci.yml, which Gitea uses in place of the GitHub workflow, following web_server's pattern: host mode, a plain git fetch over Gitea's SSH port, and ruff + pytest inside python:<version>-slim containers. That surfaced a real failure: test_serve_refuses_without_token imports uvicorn, which only the web extra installed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
@@ -26,6 +26,7 @@ dev = [
|
||||
"textual>=1.0",
|
||||
"rich>=13.0",
|
||||
"fastapi>=0.110",
|
||||
"uvicorn>=0.29", # imported by receipt_web.serve(), which the tests call
|
||||
"python-multipart>=0.0.9",
|
||||
"httpx>=0.27", # FastAPI's TestClient
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user