Skip to content

Commit c923902

Browse files
jakubmalekJakub Malek
authored andcommitted
Fixed configuration of Jacoco badge generation
1 parent aff570f commit c923902

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,7 @@ jobs:
3434
uses: gradle/gradle-build-action@v2
3535
with:
3636
arguments: dependencyCheckAnalyze
37-
- name: jacoco-badge-generator
37+
- name: Generate Jacoco badge
3838
uses: cicirello/[email protected]
39+
with:
40+
jacoco-csv-file: build/reports/jacoco/test/jacocoTestReport.csv

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ configurations {
5252
}
5353
}
5454

55-
group to "com.webfleet"
56-
55+
group = "com.webfleet"
5756

5857
dependencies {
5958
// api
@@ -103,8 +102,9 @@ tasks {
103102
executionData(fileTree(project.buildDir).include("jacoco/*.exec"))
104103
finalizedBy(jacocoTestCoverageVerification)
105104
reports {
106-
html.required to true
107-
xml.required to true
105+
xml.required.set(false)
106+
html.required.set(true)
107+
csv.required.set(true)
108108
}
109109
}
110110
jacocoTestCoverageVerification {

0 commit comments

Comments
 (0)