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.
This commit is contained in:
parent
e215c26517
commit
15aaa12e25
@ -37,7 +37,7 @@ test_lint_pmd_checkstyle:
|
|||||||
- ./gradlew assemble
|
- ./gradlew assemble
|
||||||
# always report on lint errors to the build log
|
# always report on lint errors to the build log
|
||||||
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
- sed -i -e 's,textReport .*,textReport true,' app/build.gradle
|
||||||
- ./gradlew test
|
- ./gradlew testFullDebugUnitTest
|
||||||
- ./gradlew lint
|
- ./gradlew lint
|
||||||
- ./gradlew pmd || export EXITVALUE=1
|
- ./gradlew pmd || export EXITVALUE=1
|
||||||
- ./gradlew checkstyle || export EXITVALUE=1
|
- ./gradlew checkstyle || export EXITVALUE=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user