diff options
author | H. Lehmann <ByteHamster@users.noreply.github.com> | 2018-05-27 19:37:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-27 19:37:29 +0200 |
commit | b4062146a9458aab796dea2018746d0502b66402 (patch) | |
tree | 60ca39aa99391575609a505ed3ffd82f524cac99 | |
parent | f73a64050daf4334b9286f76166a521fd5a561a8 (diff) | |
parent | 7e59ac0e75003f5f6f0d7d315104bcf095b8dfb6 (diff) | |
download | AntennaPod-b4062146a9458aab796dea2018746d0502b66402.zip |
Merge pull request #2712 from ByteHamster/run-unit-tests
Executing core unit tests on CircleCI
-rw-r--r-- | .circleci/config.yml | 2 | ||||
-rw-r--r-- | core/build.gradle | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 256b3b882..bec559ed2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,7 @@ jobs: - v1-android- - run: - command: ./gradlew assembleDebug -PdisablePreDex + command: ./gradlew assembleDebug :core:testPlayDebugUnitTest -PdisablePreDex no_output_timeout: 1800 - store_artifacts: diff --git a/core/build.gradle b/core/build.gradle index 649a078a5..eb857269a 100644 --- a/core/build.gradle +++ b/core/build.gradle @@ -84,6 +84,15 @@ dependencies { } +tasks.withType(Test) { + testLogging { + exceptionFormat "full" + events "skipped", "passed", "failed" + showStandardStreams true + displayGranularity 2 + } +} + allprojects { gradle.projectsEvaluated { tasks.withType(JavaCompile) { |