Browse Source

Execute unit tests in pipelien tests

Signed-off-by: Tim Krüger <t@timkrueger.me>
Tim Krüger 3 years ago
parent
commit
68ff7e1b1c
1 changed files with 2 additions and 3 deletions
  1. 2 3
      .drone.yml

+ 2 - 3
.drone.yml

@@ -39,14 +39,13 @@ type: docker
 name: tests
 
 steps:
-  - name: tests
+  - name: all
     image: nextcloudci/android:android-49
     privileged: true
     commands:
       - emulator-headless -avd android-27 -no-snapshot -gpu swiftshader_indirect -no-window -no-audio -skin 500x833 &
       - scripts/wait_for_emulator.sh
-      - ./gradlew --console=plain connectedGplayDebugAndroidTest
-
+      - ./gradlew --console=plain testGplayDebugUnitTest connectedGplayDebugAndroidTest
 
 #services:
 #  - name: server