JaCoCo: гейт покрытия 90% + сводка/артефакты репортов в CI #35

Merged
pjandro merged 4 commits from jacoco-coverage into main 2026-10-24 21:56:34 +03:00
Collaborator
No description provided.
ai added 1 commit 2026-10-24 21:39:56 +03:00
JaCoCo: гейт покрытия 90% строк + сводка/артефакты репортов в CI
PR checks / web (pull_request) Successful in 54s
PR checks / java (pull_request) Failing after 1m9s
8a07597d4c
Корневой pom: jacoco-maven-plugin 0.8.15 (prepare-agent, report+check на
verify, report раньше check — отчёт готов даже при провале гейта), surefire
argLine через @{argLine}. pr.yml/main.yml job java: Coverage summary в
step summary + артефакт jacoco-html (оба шага if: always()).

Тесты ради гейта (23 класса / 218 @Test): app ConversionService/
ApiExceptionHandler/ConversionTimeout +1 в ConvertController; core
DrawMlColor/DrawMlText + инкременты ChartSpec/PresetGeometry.
Покрытие: core 91,0%, app 92,9% строк.
ai added 1 commit 2026-10-24 21:41:55 +03:00
CI: upload-artifact v4 -> v3 — артефакт-сервер Gitea не поддерживает протокол v4
PR checks / web (pull_request) Successful in 39s
PR checks / java (pull_request) Has been cancelled
3886b152e0
ai added 1 commit 2026-10-24 21:48:02 +03:00
CI: репорты покрытия одним zip — v1-протокол Gitea грузит файл за запрос
PR checks / web (pull_request) Has been cancelled
PR checks / java (pull_request) Has been cancelled
f702b704ca
Author
Collaborator

Покрытие (JaCoCo)

Модуль Строки Ветви Порог строк
wordpdf-core 91.0% 75.3% 90%
wordpdf-app 92.9% 83.0% 90%
<!-- jacoco-coverage --> ## Покрытие (JaCoCo) | Модуль | Строки | Ветви | Порог строк | |---|---|---|---| | wordpdf-core | 91.0% | 75.3% | 90% | | wordpdf-app | 92.9% | 83.0% | 90% |
ai added 1 commit 2026-10-24 21:54:55 +03:00
CI: покрытие — комментарием в PR вместо артефактов (artifact-сервер Gitea непригоден)
PR checks / web (pull_request) Successful in 45s
PR checks / java (pull_request) Successful in 1m1s
Main: tests, deploy, autotests / web (push) Successful in 40s
Main: tests, deploy, autotests / java (push) Successful in 55s
Main: tests, deploy, autotests / images-web (push) Successful in 2m7s
Main: tests, deploy, autotests / images-app (push) Successful in 3m34s
Main: tests, deploy, autotests / deploy (push) Successful in 1m43s
Main: tests, deploy, autotests / autotests (push) Successful in 51s
Main: tests, deploy, autotests / rollback (push) Has been skipped
b9ce970d26
upload-artifact@v4 не поддерживается, @v3 на этом стенде висит на загрузке
(run 508 — 153 файла, run 509 — один zip; оба отменены в полёте). Вместо
артефактов: Coverage summary пишет coverage-summary.md (он же в step
summary), Comment coverage on PR постит/обновляет комментарий в PR по
маркеру <!-- jacoco-coverage --> (continue-on-error). Шаг продублирован в
main.yml байт-в-байт, там if не срабатывает. HTML — локально
target/site/jacoco.
pjandro merged commit b9ce970d26 into main 2026-10-24 21:56:34 +03:00
pjandro deleted branch jacoco-coverage 2026-10-24 21:56:34 +03: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: pjandro/java-word-pdf#35