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@dbbdc275be76ac10734476cc723d82dfe7ec6eda # v3.4.2
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@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
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