diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 7e6b452..9137476 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -13,7 +13,7 @@ test: stage: test script: - cp "$APP_TEST" ./src/main/resources/application-test.properties - - mvn test + - mvn clean test && cat target/site/jacoco/index.html deploy: stage: deploy diff --git a/pom.xml b/pom.xml index 40e8772..3cfdb6d 100644 --- a/pom.xml +++ b/pom.xml @@ -156,6 +156,26 @@ org.springframework.boot spring-boot-maven-plugin + + org.jacoco + jacoco-maven-plugin + 0.7.9 + + + pre-unit-test + + prepare-agent + + + + post-unit-test + test + + report + + + +