From e9ef366276c215c213d3b11e72391e13fc43e460 Mon Sep 17 00:00:00 2001 From: jespergravgaard Date: Mon, 12 Feb 2018 22:42:16 +0100 Subject: [PATCH] Added test coverage --- .gitlab-ci.yml | 4 +++- pom.xml | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1c966c46d..9b8bec9c6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,6 @@ image: maven:3-jdk-8 maven_build: - script: mvn verify \ No newline at end of file + script: + -"mvn verify" + -"cat target/site/jacoco/index.html" diff --git a/pom.xml b/pom.xml index 6e45e2963..e743fb2e7 100644 --- a/pom.xml +++ b/pom.xml @@ -48,6 +48,7 @@ + src/test/java @@ -60,6 +61,7 @@ + org.apache.maven.plugins @@ -69,6 +71,26 @@ -Xmx1024m + + org.jacoco + jacoco-maven-plugin + 0.7.5.201505241946 + + + pre-unit-test + + prepare-agent + + + + post-unit-test + test + + report + + + +