diff --git a/.circleci/config.yml b/.circleci/config.yml index 43c4a8ece3..f9479bd008 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -23,7 +23,7 @@ jobs: test-command: ./gradlew testFullDebugUnitTest - android/run-tests: - test-command: ./gradlew allDebugCoverage + test-command: ./gradlew jacocoAllDebugReport # Then start the emulator and run the Instrumentation tests! # - android/start-emulator-and-run-tests: @@ -36,7 +36,7 @@ jobs: # command: | # ./gradlew assembleRelease - codecov/upload: - file: './build/reports/jacoco/allDebugCoverage/allDebugCoverage.xml' + file: './build/reports/jacoco/jacocoAllDebugReport/jacocoAllDebugReport.xml' workflows: # Below is the definition of your workflow. diff --git a/gradle/jacoco_project.gradle b/gradle/jacoco_project.gradle index b5ccab1077..59201d201e 100644 --- a/gradle/jacoco_project.gradle +++ b/gradle/jacoco_project.gradle @@ -12,7 +12,7 @@ tasks.withType(Test) { project.afterEvaluate { def variants = ["debug", "fullDebug"] - tasks.create(name: "allDebugCoverage", type: JacocoReport) { + tasks.create(name: "jacocoAllDebugReport", type: JacocoReport) { group = "Reporting" description = "Generate overall Jacoco coverage report for the debug build." @@ -74,7 +74,7 @@ project.afterEvaluate { def executions = subprojects.collect { proj -> variants.collect { variant -> def path = "${proj.buildDir}/jacoco/test${variant.capitalize()}UnitTest.exec" - printf('Collecting execution data from: %s\n', path) + //printf('Collecting execution data from: %s\n', path) if ((new File(path)).exists()) path else null } }.flatten()