File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -63,24 +63,24 @@ jobs:
6363 - name : Generate Kover Coverage Report
6464 uses : gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f
6565 with :
66- arguments : koverXmlReport
66+ arguments : :jindong-core: koverXmlReport
6767 - name : Generate Kover HTML Report
6868 uses : gradle/gradle-build-action@ce999babab2de1c4b649dc15f0ee67e6246c994f
6969 with :
70- arguments : koverHtmlReport
70+ arguments : :jindong-core: koverHtmlReport
7171 - name : Upload Coverage Report
7272 uses : actions/upload-artifact@v4
7373 with :
7474 name : coverage-report
75- path : jindong/build/reports/kover/html
75+ path : jindong-core /build/reports/kover/html
7676 - name : Add coverage report to PR
7777 id : kover
7878 if : github.event_name == 'pull_request'
7979 uses : mi-kas/kover-report@v1
8080 with :
81- path : ${{ github.workspace }}/jindong/build/reports/kover/report.xml
81+ path : ${{ github.workspace }}/jindong-core /build/reports/kover/report.xml
8282 token : ${{ secrets.GITHUB_TOKEN }}
83- title : Test Coverage Report
83+ title : Jindong Core Test Coverage Report
8484 update-comment : true
8585 min-coverage-overall : 0
8686 min-coverage-changed-files : 0
Original file line number Diff line number Diff line change @@ -23,7 +23,6 @@ plugins {
2323 alias(libs.plugins.kotest)
2424 alias(libs.plugins.ksp)
2525 alias(libs.plugins.binaryCompatibilityValidator)
26- alias(libs.plugins.kover)
2726}
2827
2928apiValidation {
@@ -120,16 +119,3 @@ mavenPublishing {
120119 }
121120 }
122121}
123-
124- kover {
125- reports {
126- total {
127- html {
128- onCheck = true
129- }
130- xml {
131- onCheck = true
132- }
133- }
134- }
135- }
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ plugins {
2222 alias(libs.plugins.kotest)
2323 alias(libs.plugins.ksp)
2424 alias(libs.plugins.binaryCompatibilityValidator)
25+ alias(libs.plugins.kover)
2526}
2627
2728apiValidation {
@@ -103,3 +104,16 @@ mavenPublishing {
103104 }
104105 }
105106}
107+
108+ kover {
109+ reports {
110+ total {
111+ html {
112+ onCheck = true
113+ }
114+ xml {
115+ onCheck = true
116+ }
117+ }
118+ }
119+ }
You can’t perform that action at this time.
0 commit comments