Update coverage thresholds

This commit is contained in:
Benoit Marty 2023-02-09 17:13:32 +01:00
parent ad62a613cc
commit bc862d1668

View file

@ -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
} }
} }