This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
android9: | |
executor: genymotion-saas/default | |
steps: | |
- checkout | |
- genymotion-saas/setup | |
- genymotion-saas/start-instance: | |
recipe_uuid: "e20da1a3-313c-434a-9d43-7268b12fee08" | |
- run: ./gradlew connectedDebugAndroidTest | |
- genymotion-saas/stop-instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
android9: | |
executor: genymotion-saas/default | |
steps: | |
- checkout | |
- genymotion-saas/setup | |
- genymotion-saas/start-instance: | |
recipe_uuid: "e20da1a3-313c-434a-9d43-7268b12fee08" | |
- genymotion-saas/stop-instance |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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. | |
adb_serial_port: "" # Optional: Enter a specific adb serial port here otherwise a random port is generated. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2.1 | |
orbs: | |
genymotion-saas: genymotion/genymotion-saas@1.0.0 | |
jobs: | |
android9: | |
executor: genymotion-saas/default | |
steps: | |
- checkout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: 2.1 | |
orbs: | |
genymotion-saas: genymotion/genymotion-saas@1.0.0 | |
workflows: | |
basic_workflow: | |
jobs: | |
- genymotion-saas/run_tests: | |
name: "Run Android 9.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android8: | |
steps: | |
- checkout | |
- genymotion-saas/setup | |
- genymotion-saas/start-instance: | |
recipe_uuid: "c52fdfc2-6914-4266-aa6e-50258f50ef91" | |
- genymotion-saas/stop-instance | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
build: | |
<<: *defaults | |
steps: | |
- checkout | |
- run: | |
name: Accept all SDK package licenses | |
command: | | |
yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses || if [ $? -ne '141' ]; then exit $?; fi; | |
- restore_cache: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# fail if any commands fails | |
set -e | |
# debug log | |
set -x | |
#export JAVA_HOME | |
export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 | |
export PATH=$PATH:$JAVA_HOME/bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# fail if any commands fails | |
set -e | |
# debug log | |
set -x | |
echo "# Install dependencies" | |
pip3 install -r appium/requirements.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure the Genymotion Provider | |
provider "genymotion" { | |
email = "GENYMOTION_CLOUD_SAAS_EMAIL_HERE" | |
password = "GENYMOTION_CLOUD_SAAS_PASSWORD_HERE" | |
} | |
# Create a Genymotion Cloud SaaS Android 9.0 instance | |
resource "genymotion_cloud" "Android90" { | |
recipe_uuid = "143eb44a-1d3a-4f27-bcac-3c40124e2836" # Google Pixel 3 | |
name = "Android90" |
NewerOlder