diff --git a/build.gradle.kts b/build.gradle.kts index 2f7ebd91d2..f9ba17349b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -214,10 +214,10 @@ koverMerged { name = "Global minimum code coverage." target = kotlinx.kover.api.VerificationTarget.ALL bound { - minValue = 55 + minValue = 50 // Setting a max value, so that if coverage is bigger, it means that we have to change minValue. - // For instance if we have minValue = 25 and maxValue = 30, and current code coverage is now 37.32%, update - // minValue to 35 and maxValue to 40. + // For instance if we have minValue = 20 and maxValue = 30, and current code coverage is now 31.32%, update + // minValue to 25 and maxValue to 35. maxValue = 60 counter = kotlinx.kover.api.CounterType.INSTRUCTION valueType = kotlinx.kover.api.VerificationValueType.COVERED_PERCENTAGE @@ -243,6 +243,8 @@ koverMerged { target = kotlinx.kover.api.VerificationTarget.CLASS overrideClassFilter { includes += "*State" + excludes += "io.element.android.libraries.matrix.api.timeline.item.event.OtherState$*" + excludes += "io.element.android.libraries.matrix.api.timeline.item.event.EventSendState$*" } bound { minValue = 90