diff --git a/.circleci/config.yml b/.circleci/config.yml index 8fbf11a23..a6a2acd60 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -24,7 +24,9 @@ jobs: - ~/.m2 - run: name: "Running build" - command: ./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn + command: | + ./mvnw cobertura:cobertura + ./mvnw -Pspring -Pdocs clean install -U -nsu --batch-mode -Dmaven.test.redirectTestOutputToFile=true -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn - run: name: "Aggregate test results" when: always diff --git a/.codecov.yml b/.codecov.yml new file mode 100644 index 000000000..fcea9e5d8 --- /dev/null +++ b/.codecov.yml @@ -0,0 +1,16 @@ +coverage: + status: + project: + default: + # basic + target: auto + threshold: null + base: auto + # advanced + branches: null + if_no_uploads: error + if_not_found: success + if_ci_failed: error + only_pulls: false + flags: null + paths: null \ No newline at end of file diff --git a/pom.xml b/pom.xml index 776c8b0b5..950b817a7 100644 --- a/pom.xml +++ b/pom.xml @@ -179,6 +179,26 @@ false + + org.codehaus.mojo + cobertura-maven-plugin + 2.7 + + + html + xml + + + + + + package + + cobertura + + + +