From 15aaa12e2585a1773cabc313c4a2e1b09b9898ca Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 8 Aug 2018 09:40:50 +0200 Subject: [PATCH] gitlab-ci: run only a single pass on the tests Before, it was running: * testBasicDebugUnitTest * testBasicReleaseUnitTest * testFullDebugUnitTest Since there are no Robolectric tests for only "basic", and there are no tests specific to "release" or "debug", those three runs will be running the same tests, except for the handful of "full" tests. So running testFullDebugUnitTest covers all cases. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 605135467..67c919c77 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,7 @@ test_lint_pmd_checkstyle: - ./gradlew assemble # always report on lint errors to the build log - sed -i -e 's,textReport .*,textReport true,' app/build.gradle - - ./gradlew test + - ./gradlew testFullDebugUnitTest - ./gradlew lint - ./gradlew pmd || export EXITVALUE=1 - ./gradlew checkstyle || export EXITVALUE=1