mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Update coverage thresholds
This commit is contained in:
+5
-4
@@ -185,9 +185,9 @@ koverMerged {
|
|||||||
name = "Global minimum code coverage."
|
name = "Global minimum code coverage."
|
||||||
target = kotlinx.kover.api.VerificationTarget.ALL
|
target = kotlinx.kover.api.VerificationTarget.ALL
|
||||||
bound {
|
bound {
|
||||||
minValue = 35
|
minValue = 40
|
||||||
// Setting a max value, so that if coverage is bigger, it means that we have to change minValue.
|
// Setting a max value, so that if coverage is bigger, it means that we have to change minValue.
|
||||||
maxValue = 40
|
maxValue = 45
|
||||||
counter = kotlinx.kover.api.CounterType.LINE
|
counter = kotlinx.kover.api.CounterType.LINE
|
||||||
valueType = kotlinx.kover.api.VerificationValueType.COVERED_PERCENTAGE
|
valueType = kotlinx.kover.api.VerificationValueType.COVERED_PERCENTAGE
|
||||||
}
|
}
|
||||||
@@ -198,10 +198,11 @@ koverMerged {
|
|||||||
target = kotlinx.kover.api.VerificationTarget.CLASS
|
target = kotlinx.kover.api.VerificationTarget.CLASS
|
||||||
overrideClassFilter {
|
overrideClassFilter {
|
||||||
includes += "*Presenter"
|
includes += "*Presenter"
|
||||||
|
excludes += "*TemplatePresenter"
|
||||||
}
|
}
|
||||||
bound {
|
bound {
|
||||||
minValue = 80
|
minValue = 90
|
||||||
counter = kotlinx.kover.api.CounterType.LINE
|
counter = kotlinx.kover.api.CounterType.INSTRUCTION
|
||||||
valueType = kotlinx.kover.api.VerificationValueType.COVERED_PERCENTAGE
|
valueType = kotlinx.kover.api.VerificationValueType.COVERED_PERCENTAGE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user