Skip to content

Commit 250f361

Browse files
committed
Ensure the emulator finished after the tests are run (ReactiveCircus/android-emulator-runner#385 (comment))
1 parent b03e360 commit 250f361

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,10 @@ runs:
268268
echo "adb shell 'cd ${REMOTE_FOLDER}/${TEST_BASE_FOLDER} && ${{ inputs.test-env }} ./${XCTEST_BASE} ${{ inputs.swift-test-flags }}'" >> ${SCRIPT_FILE}
269269
done
270270
271+
# ensure the emulator stops when we are done
272+
# https://github.com/ReactiveCircus/android-emulator-runner/issues/385#issuecomment-2492035091
273+
echo 'killall -INT crashpad_handler || true' >> ${SCRIPT_FILE}
274+
271275
cat ${SCRIPT_FILE}
272276
273277
chmod +x ${SCRIPT_FILE}

0 commit comments

Comments
 (0)