diff --git a/src/jobs/android_test.yml b/src/jobs/android_test.yml index 6b1cf4d..af93914 100644 --- a/src/jobs/android_test.yml +++ b/src/jobs/android_test.yml @@ -48,13 +48,21 @@ parameters: type: string default: "" should_on_after_initialize: - description: Set this to true if you want to run a custom shell command right after yarn install. Provide the command in on_after_initialize_command + description: Set this to true if you want to run a custom shell command right after yarn install. Provide the command in on_after_initialize command. type: boolean default: false on_after_initialize: description: A custom command to run right after yarn install. type: string default: "" + should_on_after_emulator_start: + description: Set this to true if you want to run a custom shell command right after the android emulator starts. Provide the command in on_after_emulator_start command. + type: boolean + default: false + on_after_emulator_start: + description: A custom command to run right after the android emulator starts. + type: string + default: "" # For macos executor node_version: description: The version of Node to use. This can be either a major version ("8"), a major and minor ("8.4"), or a fully qualified version ("8.4.1"). @@ -88,6 +96,12 @@ steps: platform_version: <> build_tools_version: <> logcat_grep: <> + - when: + condition: <> + steps: + - run: + name: "on_after_emulator_start" + command: <> - detox_test: configuration: <> loglevel: <>