ci: add JaCoCo coverage gate and Gitea CI pipeline #24

Merged
thib8956 merged 1 commits from issue-14/jacoco-ci-pipeline into master 2026-03-27 15:41:41 +00:00
Owner

Summary

  • Add JaCoCo Maven plugin (0.8.11) with prepare-agent, report, and check goals.
  • Set 50% bundle-level line coverage gate as a starting baseline (to be raised incrementally as test PRs #6–#13 land).
  • Exclude untestable UI classes (App, Controller, ShapesView, ShapeDraftman, listeners, Selection) from coverage enforcement.
  • Add Gitea Actions CI workflow: checkout → JDK 16 setup → mvn verify → upload JaCoCo HTML report as artifact.

Closes #14

## Summary - Add JaCoCo Maven plugin (0.8.11) with `prepare-agent`, `report`, and `check` goals. - Set 50% bundle-level line coverage gate as a starting baseline (to be raised incrementally as test PRs #6–#13 land). - Exclude untestable UI classes (`App`, `Controller`, `ShapesView`, `ShapeDraftman`, listeners, `Selection`) from coverage enforcement. - Add Gitea Actions CI workflow: checkout → JDK 16 setup → `mvn verify` → upload JaCoCo HTML report as artifact. Closes #14
thib8956 added 1 commit 2026-03-27 15:41:26 +00:00
- Add JaCoCo maven plugin (0.8.11) with prepare-agent, report, and check goals
- Set 50% bundle-level line coverage gate (to be raised as test coverage grows)
- Exclude UI classes (App, Controller, ShapesView, etc.) from coverage checks
  since they require a display and cannot be unit-tested
- Add Gitea Actions workflow: checkout → JDK 16 → mvn verify → upload report

Closes #14
thib8956 force-pushed issue-14/jacoco-ci-pipeline from 7a6111b75e to 651cc4459e 2026-03-27 15:41:26 +00:00 Compare
thib8956 merged commit 2db2ed19a0 into master 2026-03-27 15:41:41 +00:00
thib8956 deleted branch issue-14/jacoco-ci-pipeline 2026-03-27 15:41:45 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: thib8956/new-shapes#24