ci: per-project coverage gate + test-result reporting (Forgejo-compatible) #199

Open
opened 2026-07-24 19:19:17 +02:00 by marco · 0 comments
Owner

Split out of #198. The dorny/test-reporter (posts a check-run) and irongut/CodeCoverageSummary (heavy .NET SDK Docker image) actions were slow/unstable on the Forgejo runner, so they were pulled from #198.

Scope

  • Test-result reporting that works on this Forgejo instance (a lighter reporter, or upload the TRX as an artifact, or a tiny summary to $GITHUB_STEP_SUMMARY).
  • Per-project coverage gate at the testing invariant (>85% line per project), scoping out the GUI/tool projects (client, editors, extractor) that legitimately sit lower — measured today: domain projects high, GUI/tool 18–70%. A repo-wide 85% fail is not viable; gate the domain projects (Shared/Scripting/Auth/GameServer) instead.

Definition of Done (delta)

  • CI surfaces test results on a PR without hanging or a heavy image pull.
  • CI fails when a domain project drops below 85% line coverage; GUI/tool projects are excluded with a written reason.
  • Base DoD holds.
Split out of #198. The `dorny/test-reporter` (posts a check-run) and `irongut/CodeCoverageSummary` (heavy .NET SDK Docker image) actions were slow/unstable on the Forgejo runner, so they were pulled from #198. ## Scope - Test-result reporting that works on this Forgejo instance (a lighter reporter, or upload the TRX as an artifact, or a tiny summary to `$GITHUB_STEP_SUMMARY`). - **Per-project coverage gate** at the testing invariant (>85% line per project), **scoping out the GUI/tool projects** (client, editors, extractor) that legitimately sit lower — measured today: domain projects high, GUI/tool 18–70%. A repo-wide 85% fail is not viable; gate the domain projects (Shared/Scripting/Auth/GameServer) instead. ## Definition of Done (delta) - CI surfaces test results on a PR without hanging or a heavy image pull. - CI fails when a *domain* project drops below 85% line coverage; GUI/tool projects are excluded with a written reason. - Base DoD holds.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marco/IsoMmo#199
No description provided.