mirror of
https://github.com/nextcloud/android.git
synced 2024-11-26 07:05:49 +03:00
switch to gplay connected tests, to not run both generic and gplay on drone
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
This commit is contained in:
parent
b13cba02c2
commit
2b3e69e80a
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ def versionBuild = 0 // 0-50=Alpha / 51-98=RC / 90-99=stable
|
|||
for (TaskExecutionRequest tr : getGradle().getStartParameter().getTaskRequests()) {
|
||||
for (String arg : tr.args) {
|
||||
// any gplay, but only exact "build", as e.g. buildGeneric shall not apply gplay.grade
|
||||
if (arg.contains("Gplay") || arg.contains("lint") || arg == "build") {
|
||||
if (arg.contains("Gplay") || arg.contains("lint") || arg.contains("executeScreenshot") || arg == "build") {
|
||||
apply from: 'gplay.gradle'
|
||||
System.console().println("Applying gplay.gradle")
|
||||
break
|
||||
|
@ -105,7 +105,7 @@ spotbugs {
|
|||
|
||||
shot {
|
||||
appId = 'com.nextcloud.client'
|
||||
instrumentationTestTask = 'connectedGenericDebugAndroidTest'
|
||||
instrumentationTestTask = 'connectedGplayDebugAndroidTest'
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
Loading…
Reference in a new issue