Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion src/jobs/android_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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").
Expand Down Expand Up @@ -88,6 +96,12 @@ steps:
platform_version: <<parameters.platform_version>>
build_tools_version: <<parameters.build_tools_version>>
logcat_grep: <<parameters.logcat_grep>>
- when:
condition: <<parameters.should_on_after_emulator_start>>
steps:
- run:
name: "on_after_emulator_start"
command: <<parameters.on_after_emulator_start>>
- detox_test:
configuration: <<parameters.detox_configuration>>
loglevel: <<parameters.detox_loglevel>>
Expand Down