Skip to content

Commit c1d4553

Browse files
Update android_test_ci.yml
1 parent d9e449e commit c1d4553

File tree

1 file changed

+2
-19
lines changed

1 file changed

+2
-19
lines changed

.github/workflows/android_test_ci.yml

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,8 @@ jobs:
1212
with:
1313
distribution: 'zulu'
1414
java-version: '21'
15-
- name: set up Android SDK
16-
uses: android-actions/setup-android@v3
17-
- name: Start emulator
18-
uses: reactivecircus/android-emulator-runner@v2
19-
with:
20-
api-level: 30
21-
target: google_apis
22-
arch: x86_64
23-
profile: Nexus 6
24-
script: |
25-
adb shell pm grant com.vrem.wifianalyzer android.permission.ACCESS_COARSE_LOCATION
26-
adb shell pm grant com.vrem.wifianalyzer android.permission.ACCESS_FINE_LOCATION
27-
adb shell pm grant com.vrem.wifianalyzer android.permission.ACCESS_WIFI_STATE
28-
adb shell pm grant com.vrem.wifianalyzer android.permission.CHANGE_WIFI_STATE
29-
adb shell pm grant com.vrem.wifianalyzer android.permission.NEARBY_WIFI_DEVICES
30-
- name: build app apk
31-
run: bash ./gradlew assembleDebug
32-
- name: build android test apk
33-
run: bash ./gradlew assembleAndroidTest
15+
- name: build apks
16+
run: bash ./gradlew assembleDebug assembleAndroidTest
3417
- name: run tests
3518
uses: emulator-wtf/run-tests@v0
3619
with:

0 commit comments

Comments
 (0)