Skip to content

Commit

Permalink
Add sleep to wait for emulator to shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
AnasNaouchi committed May 29, 2024
1 parent 71a0336 commit da61a95
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,8 +113,10 @@ jobs:
disable-animations: true
profile: Nexus One
# Workaround for https://github.com/ReactiveCircus/android-emulator-runner/issues/373
# | Wait for emulator 20 seconds to shutdown gracefully before kill;you can set environment variable ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL(in seconds) to change the default value (20 seconds)
script: |
./gradlew sdk:jacocoTestReport sdk:sonar
sleep 40
pkill -f crashpad_handler
- name: Publish Maven package
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ jobs:
disable-animations: true
profile: Nexus One
# Workaround for https://github.com/ReactiveCircus/android-emulator-runner/issues/373
# | Wait for emulator 20 seconds to shutdown gracefully before kill;you can set environment variable ANDROID_EMULATOR_WAIT_TIME_BEFORE_KILL(in seconds) to change the default value (20 seconds)
script: |
./gradlew sdk:jacocoTestReport sdk:sonar
sleep 40
pkill -f crashpad_handler

0 comments on commit da61a95

Please sign in to comment.