-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathstep.yml
executable file
·60 lines (51 loc) · 2.63 KB
/
step.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
title: Wait for Android emulator
summary: Wait for the emulator to finish boot
description: |-
If your Workflow contains the [AVD Manager](https://www.bitrise.io/integrations/steps/avd-manager) Step,
you can use this Step to check if the Android emulator is booted or wait for it to finish booting.
**Warning:** This Step is not yet supported on Apple Silicon (M1) machines. If you cannot find a solution to this error, try running this Workflow on an Intel-based machine type.
### Configuring the Step
To configure the Step:
1. Make sure to add this Step after the [AVD Manager](https://www.bitrise.io/integrations/steps/avd-manager) Step.
1. Add the emulator's serial to the **Emulator serial** input. By default, this is set to the `$BITRISE_EMULATOR_SERIAL` Env Var, which is generated by the [AVD Manager](https://www.bitrise.io/integrations/steps/avd-manager) Step.
1. Specify the number of seconds the Step should wait for the emulator to boot in the **Waiting timeout (secs)** input.
1. Specify the location of the Android SDK in the **Android SDK path** input.
### Useful links
* [Run tests using the Android emulator](https://devcenter.bitrise.io/en/steps-and-workflows/workflow-recipes-for-android-apps/-android--run-tests-using-the-emulator.html)
* [Workflow recipe: Run tests using the Android emulator](https://devcenter.bitrise.io/en/steps-and-workflows/workflow-recipes-for-android-apps/-android--run-tests-using-the-emulator.html)
### Related Steps
* [AVD Manager](https://www.bitrise.io/integrations/steps/avd-manager)
* [Gradel Runner](https://www.bitrise.io/integrations/steps/gradle-runner)
website: https://github.com/bitrise-steplib/steps-wait-for-android-emulator
source_code_url: https://github.com/bitrise-steplib/steps-wait-for-android-emulator
support_url: https://github.com/bitrise-steplib/steps-wait-for-android-emulator/issues
host_os_tags:
- ubuntu
type_tags:
- utility
is_requires_admin_user: false
is_always_run: false
is_skippable: false
toolkit:
go:
package_name: github.com/bitrise-steplib/steps-wait-for-android-emulator
inputs:
- emulator_serial: $BITRISE_EMULATOR_SERIAL
opts:
title: Emulator serial
summary: Emulator serial to check
description: |
Emulator with the given serial will be checked if booted, or wait for it to boot.
is_required: true
- boot_timeout: 300
opts:
title: Waiting timeout (secs)
summary: Maximum time to wait for emulator to boot
description: |
Maximum time to wait for emulator to boot.
is_required: true
- android_home: $ANDROID_HOME
opts:
title: Android SDK path
description: Android SDK path
is_required: true