Bladeren bron

switch to gplay connected tests, to not run both generic and gplay on drone

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
tobiasKaminsky 5 jaren geleden
bovenliggende
commit
2b3e69e80a
1 gewijzigde bestanden met toevoegingen van 2 en 2 verwijderingen
  1. 2 2
      build.gradle

+ 2 - 2
build.gradle

@@ -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 {