You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2024/04/08 13:48:52 UTC
(commons-cli) 02/02: Fail build on low JaCoCo coverage
This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-cli.git
commit 473889d8801bf5e0b44a0c2b29d3e93e604a4dc8
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Mon Apr 8 09:36:06 2024 -0400
Fail build on low JaCoCo coverage
---
pom.xml | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/pom.xml b/pom.xml
index 06ab783..2e817cf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -90,6 +90,14 @@
<commons.encoding>utf-8</commons.encoding>
<findbugs.skip>true</findbugs.skip>
<japicmp.skip>false</japicmp.skip>
+ <!-- JaCoCo: Don't make code coverage worse -->
+ <commons.jacoco.haltOnFailure>true</commons.jacoco.haltOnFailure>
+ <commons.jacoco.classRatio>1.00</commons.jacoco.classRatio>
+ <commons.jacoco.instructionRatio>0.97</commons.jacoco.instructionRatio>
+ <commons.jacoco.methodRatio>0.97</commons.jacoco.methodRatio>
+ <commons.jacoco.branchRatio>0.94</commons.jacoco.branchRatio>
+ <commons.jacoco.complexityRatio>0.85</commons.jacoco.complexityRatio>
+ <commons.jacoco.lineRatio>0.97</commons.jacoco.lineRatio>
</properties>
<build>