Skip to content

Commit

Permalink
ci(android): fix emulator failing to shutdown causes test failure (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
russellwheatley committed Sep 17, 2024
1 parent 4e28103 commit 898f59c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/android.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,8 @@ jobs:
working-directory: ${{ matrix.working_directory }}
script: |
flutter test integration_test/e2e_test.dart --dart-define=CI=true -d emulator-5554
- name: Ensure Appium is shut down
# Required because of below issue where emulator failing to shut down properly causes tests to fail
# https://github.com/ReactiveCircus/android-emulator-runner/issues/385
run: |
pgrep -f appium && pkill -f appium || echo "No Appium process found"

0 comments on commit 898f59c

Please sign in to comment.