From 7d754cc60e6a991115219d8762f359abc79f0db7 Mon Sep 17 00:00:00 2001 From: Michael Comella Date: Fri, 6 Dec 2019 12:46:37 -0800 Subject: [PATCH] No issue: make pre-push hook assemble only one variant, run tests, build UI test. Since it's redundant to the definition in the source, I intend to remove the pre-push hook listed in the wiki after this merges. --- config/pre-push-recommended.sh | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/config/pre-push-recommended.sh b/config/pre-push-recommended.sh index bc8943c84..02ccc360e 100755 --- a/config/pre-push-recommended.sh +++ b/config/pre-push-recommended.sh @@ -17,4 +17,12 @@ ./gradlew -q \ ktlint \ detekt \ - app:assembleDebug + assembleGeckoBetaDebug \ + testGeckoBetaDebug \ + assembleGeckoBetaDebugAndroidTest + +# Tasks omitted because they take a long time to run: +# - assembling all variants +# - unit test on all variants +# - UI tests +# - android lint (takes a long time to run)