CI: move workflow to .gitea/workflows/ (the instance is Gitea, not Forgejo)
checkpoint / checkpoint (push) Failing after 10s

The self-hosted git is gitea/gitea:latest (1.26), which reads
.gitea/workflows/ + .github/workflows/, not .forgejo/. Updated docs/ci.md
with the real enable steps (app.ini [actions], act_runner host-mode
register via `gitea actions generate-runner-token`, no web UI needed).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015jtxAiu5dAW4WxCNdGkrkJ
This commit is contained in:
2026-09-05 22:32:50 +00:00
parent 187ec90440
commit 02747cc266
2 changed files with 55 additions and 32 deletions
+27
View File
@@ -0,0 +1,27 @@
name: checkpoint
# Runs the full checkpoint suite (migrations, backend pytest, Godot smoke
# tests, multiplayer, fresh-clone boot) on every push and PR.
#
# Requires a Gitea Actions runner (act_runner) with:
# - Docker access (the suite starts an ephemeral Postgres via docker compose)
# - the Godot 4.6.2 headless binary at $HOME/godot/godot (or `godot` on PATH)
# - the backend Python deps installed (backend/requirements.txt)
# A `host`-label runner on the AGP box already has all of this. See docs/ci.md.
on:
push:
branches: [main]
pull_request:
jobs:
checkpoint:
runs-on: host
steps:
- uses: actions/checkout@v4
- name: Backend deps
run: python -m pip install -r backend/requirements.txt
- name: Checkpoint suite
run: python scripts/run_checkpoint_tests.py --postgres-port 25690 --backend-port 18690