diff --git a/.gitea/actions/publish-report/action.yml b/.gitea/actions/publish-report/action.yml index 8755751..6cc395d 100644 --- a/.gitea/actions/publish-report/action.yml +++ b/.gitea/actions/publish-report/action.yml @@ -102,6 +102,17 @@ runs: print(md) EOF + - name: Copy JaCoCo HTML coverage report + shell: bash + run: | + rm -rf reports/test + if [ -d target/site/jacoco ]; then + mkdir -p reports/test + cp -r target/site/jacoco/. reports/test/ + else + echo "No JaCoCo HTML report found at target/site/jacoco" + fi + - name: Commit Test-Report to Repo shell: bash env: diff --git a/pom.xml b/pom.xml index 0b87cb4..dc3972e 100644 --- a/pom.xml +++ b/pom.xml @@ -1,5 +1,6 @@ - + 4.0.0 codes.thischwa @@ -215,7 +216,10 @@ report - XML + + XML + HTML + diff --git a/reports/test.md b/reports/test.md deleted file mode 100644 index f9e247d..0000000 --- a/reports/test.md +++ /dev/null @@ -1,36 +0,0 @@ -# Test Report - -**✅ All tests passed** - -## Test Results - -| | Tests | Passed | Failed | Skipped | -|---|---|---|---|---| -| **Total** | 90 | 90 | 0 | 0 | - -### Details - -| Status | Suite | Tests | Passed | Failed | Skipped | -|---|---|---|---|---|---| -| ✅ | codes.thischwa.cf.CfBasicHttpClientTest | 9 | 9 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfClientPenTest | 0 | 0 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfClientTest | 0 | 0 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfDnsClientBuilderTest | 16 | 16 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfDnsClientMockTest | 16 | 16 | 0 | 0 | -| ✅ | codes.thischwa.cf.CfRequestTest | 8 | 8 | 0 | 0 | -| ✅ | codes.thischwa.cf.ObjectMapperTest | 2 | 2 | 0 | 0 | -| ✅ | codes.thischwa.cf.ResponseValidatorTest | 8 | 8 | 0 | 0 | -| ✅ | codes.thischwa.cf.fluent.FluentApiTest | 15 | 15 | 0 | 0 | -| ✅ | codes.thischwa.cf.model.BatchEntryTest | 2 | 2 | 0 | 0 | -| ✅ | codes.thischwa.cf.model.PagingRequestTest | 4 | 4 | 0 | 0 | -| ✅ | codes.thischwa.cf.model.RecordEntityTest | 6 | 6 | 0 | 0 | -| ✅ | codes.thischwa.cf.model.RecordTypeTest | 3 | 3 | 0 | 0 | -| ✅ | codes.thischwa.cf.model.ZoneEntityTest | 1 | 1 | 0 | 0 | - -## Coverage - -| Package | Line Coverage | Branch Coverage | -|---|---|---| -| codes.thischwa.cf.fluent | 100% (25/25) | 100% (4/4) | -| codes.thischwa.cf.model | 100% (93/93) | 90% (9/10) | -| codes.thischwa.cf | 89% (249/279) | 71% (51/72) |