File tree Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Expand file tree Collapse file tree 2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change 3333 - name : Build APKs
3434 run : make tailscale-debug.apk
3535
36- - name : Run tests
36+ - name : Run Unit Tests
3737 run : make 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 : make integration-test
Original file line number Diff line number Diff line change @@ -247,6 +247,10 @@ checkandroidsdk: ## Check that Android SDK is installed
247247test : gradle-dependencies # # Run the Android tests
248248 (cd android && ./gradlew test)
249249
250+ .PHONY : integration-test
251+ integration-test : gradle-dependencies # # Run the integration tests
252+ (cd android && ./gradlew connectedAndroidTest)
253+
250254.PHONY : emulator
251255emulator : # # Start an android emulator instance
252256 @echo " Checking installed SDK packages..."
You can’t perform that action at this time.
0 commit comments