File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 14
14
- uses : gradle/actions/setup-gradle@d9c87d481d55275bb5441eef3fe0e46805f9ef70 # v3.5.0
15
15
with :
16
16
validate-wrappers : true
17
- - run : ./gradlew test jacocoTestReport
17
+ - run : ./gradlew test jacocoTestReport jacocoTestCoverageVerification
18
18
- uses : actions/upload-artifact@89ef406dd8d7e03cfd12d9e0a4a378f454709029 # v4.3.5
19
19
with :
20
20
name : jacoco-report
Original file line number Diff line number Diff line change @@ -9,6 +9,18 @@ jacoco {
9
9
toolVersion = " [0.8.13-SNAPSHOT,)"
10
10
}
11
11
12
+ tasks.jacocoTestCoverageVerification {
13
+ violationRules {
14
+ rule {
15
+ limit {
16
+ counter = " INSTRUCTION"
17
+ value = " MISSEDCOUNT"
18
+ maximum = " 0" .toBigDecimal()
19
+ }
20
+ }
21
+ }
22
+ }
23
+
12
24
repositories {
13
25
maven {
14
26
url = uri(" https://oss.sonatype.org/content/repositories/snapshots" )
You can’t perform that action at this time.
0 commit comments