Skip to content

Commit

Permalink
Update Build.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaehwa-Noh authored Jan 28, 2025
1 parent 8407602 commit 9699120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/Build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ jobs:
heap-size: 600M
emulator-options: -no-window -gpu swiftshader_indirect -noaudio -no-boot-anim -camera-back none
disable-animations: false
script: echo "Generated AVD snapshot for caching."; /usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages -f | grep com.google.samples.apps.nowinandroid* | cut -d':' -f2 | tr '\r' ' ' | xargs -r -n1 -t adb uninstall;
script: echo "Generated AVD snapshot for caching."; /usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages -u | grep com.google.samples.apps.nowinandroid* | cut -d':' -f2 | tr '\r' ' ' | xargs -r -n1 -t adb uninstall;

- name: Build projects and run instrumentation tests
uses: reactivecircus/android-emulator-runner@v2
Expand All @@ -226,7 +226,7 @@ jobs:
disk-size: 6000M
heap-size: 600M
script: |
/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages -f | grep com.google.samples.apps.nowinandroid* | cut -d':' -f2 | tr '\r' ' ' | xargs -r -n1 -t adb uninstall; ./gradlew connectedDemoDebugAndroidTest --daemon;
/usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages -u | grep com.google.samples.apps.nowinandroid* | cut -d':' -f2 | tr '\r' ' ' | xargs -r -n1 -t adb uninstall; ./gradlew connectedDemoDebugAndroidTest --daemon;
# /usr/local/lib/android/sdk/platform-tools/adb -s emulator-5554 shell pm uninstall com.google.samples.apps.nowinandroid.demo.debug;
- name: Run local tests (including Roborazzi) for the combined coverage report (only API 30)
Expand Down

0 comments on commit 9699120

Please sign in to comment.