File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 14
14
- uses : gradle/actions/setup-gradle@d156388eb19639ec20ade50009f3d199ce1e2808 # v4.1.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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
19
19
with :
20
20
name : jacoco-report
Original file line number Diff line number Diff line change @@ -9,6 +9,19 @@ jacoco {
9
9
toolVersion = " [0.8.13-SNAPSHOT,)"
10
10
}
11
11
12
+ tasks.jacocoTestCoverageVerification {
13
+ violationRules {
14
+ rule {
15
+ limit {
16
+ element = " BUNDLE"
17
+ counter = " INSTRUCTION"
18
+ value = " MISSEDCOUNT"
19
+ maximum = " 0" .toBigDecimal()
20
+ }
21
+ }
22
+ }
23
+ }
24
+
12
25
repositories {
13
26
maven {
14
27
url = uri(" https://oss.sonatype.org/content/repositories/snapshots" )
You can’t perform that action at this time.
0 commit comments