diff options
| author | Menny Even Danan <menny@evendanan.net> | 2019-10-21 17:10:45 +0000 |
|---|---|---|
| committer | Menny Even Danan <menny@evendanan.net> | 2019-10-21 18:08:05 +0000 |
| commit | 4df7f84bd9d785973ba0256261b477b672e9a3aa (patch) | |
| tree | 12141e0153fe2e845460a1cde6aa099094e6bef2 /scripts | |
| parent | 0125b816143e5d295f5d13b695f17dc7a7deeead (diff) | |
| download | AnySoftKeyboard-4df7f84bd9d785973ba0256261b477b672e9a3aa.tar.gz AnySoftKeyboard-4df7f84bd9d785973ba0256261b477b672e9a3aa.tar.bz2 | |
Reducing test resource requirements
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/ci/ci_test.sh | 2 | ||||
| -rwxr-xr-x | scripts/ci/ci_test_heavy.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ci/ci_test.sh b/scripts/ci/ci_test.sh index a06caa4d8..e4b3ecfff 100755 --- a/scripts/ci/ci_test.sh +++ b/scripts/ci/ci_test.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e -./gradlew --stacktrace testDebugUnitTest testDebugUnitTestCoverage -PexcludeTestClasses="**/*AllSdkTest*" +./gradlew --stacktrace -DmaxTestForks=1 --max-workers=3 testDebugUnitTest testDebugUnitTestCoverage -PexcludeTestClasses="**/*AllSdkTest*" diff --git a/scripts/ci/ci_test_heavy.sh b/scripts/ci/ci_test_heavy.sh index 262e31b41..31d29cadc 100755 --- a/scripts/ci/ci_test_heavy.sh +++ b/scripts/ci/ci_test_heavy.sh @@ -1,4 +1,4 @@ #!/usr/bin/env bash set -e -./gradlew --stacktrace -DmaxTestForks=1 -DTEST_FORK_EVERY=1 -Dorg.gradle.jvmargs=-Xmx7000M :app:testDebugUnitTest --tests="*AllSdkTest*" :app:testDebugUnitTestCoverage +./gradlew --stacktrace -DmaxTestForks=1 -DTEST_FORK_EVERY=1 :app:testDebugUnitTest --tests="*AllSdkTest*" :app:testDebugUnitTestCoverage |
