Use this orb to easily start Genymotion Android virtual devices, connect through ADB and stop devices on Genymotion Cloud SaaS for mobile automation testing.
See this orb's listing in CircleCI's Orbs Registry for details on usage, or see below example:
In this example config.yml
snippet, the required Genymotion Cloud SaaS secrets (GMCLOUD_SAAS_EMAIL, GMCLOUD_SAAS_EMAIL) are stored as environment variables and then read as default parameter values by the genymotion-saas/setup
command.
version: 2.1
orbs:
genymotion-saas: genymotion/[email protected]
jobs:
android:
executor: genymotion-saas/default
steps:
- genymotion-saas/setup
- genymotion-saas/start-instance:
recipe_uuid: "" # Mandatory: Retrieve the recipe uuid using 'gmsaas recipes list' command line or check https://support.genymotion.com/hc/en-us/articles/360007473658-Supported-Android-devices-templates-for-Genymotion-Cloud-SaaS for a comprehensive list of all currently available recipes UUIDs.
- run: echo "Run your tests here"
- genymotion-saas/stop-instance
workflows:
version: 2
build:
jobs:
- android