File tree 2 files changed +18
-2
lines changed 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 33
33
- name : Build APKs
34
34
run : make tailscale-debug.apk
35
35
36
- - name : Run tests
37
- run : make test
36
+ - name : Run Unit Tests
37
+ run : ./gradlew test
38
+
39
+ - name : Set up Android SDK
40
+ uses : android-actions/setup-android@v3
41
+
42
+ - name : Start emulator
43
+ run : |
44
+ adb devices
45
+ adb wait-for-device
46
+ adb shell input keyevent 82 &
47
+
48
+ - name : Run Integration Tests
49
+ run : ./gradlew connectedAndroidTest
Original file line number Diff line number Diff line change @@ -247,6 +247,10 @@ checkandroidsdk: ## Check that Android SDK is installed
247
247
test : gradle-dependencies # # Run the Android tests
248
248
(cd android && ./gradlew test)
249
249
250
+ .PHONY : integration-test
251
+ integration-test : gradle-dependencies # # Run the integration tests
252
+ (cd android && ./gradlew connectedAndroidTest)
253
+
250
254
.PHONY : emulator
251
255
emulator : # # Start an android emulator instance
252
256
@echo " Checking installed SDK packages..."
You can’t perform that action at this time.
0 commit comments