Last active
July 23, 2017 23:22
-
-
Save koral--/440f9cd04fb759d92b661add47cc57c4 to your computer and use it in GitHub Desktop.
Bitrise workflow with Open STF
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
--- | |
format_version: '2' | |
default_step_lib_source: https://github.com/bitrise-io/bitrise-steplib.git | |
project_type: android | |
workflows: | |
stf_test: | |
steps: | |
- activate-ssh-key: | |
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}' | |
- cache-pull: {} | |
- git-clone: {} | |
- gradle-unit-test: | |
inputs: | |
- unit_test_task: assembleAndroidTest | |
- unit_test_flags: | |
title: Assemble tests | |
- cache-push: | |
inputs: | |
- cache_paths: |- | |
$HOME/.gradle | |
./.gradle | |
- ignore_check_on_paths: |- | |
$HOME/.gradle/caches/*.lock | |
$HOME/.gradle/caches/*.bin | |
./.gradle/*.lock | |
./.gradle/*.bin | |
- vpnc-connect: | |
inputs: | |
- config_file_content: | |
- openstf-connect: | |
inputs: | |
- stf_host_url: "${STF_HOST_URL}" | |
- stf_access_token: "${STF_ACCESS_TOKEN}" | |
- device_filter: .sdk >= "17" | |
- adb_key: | |
- adb_key_pub: | |
- device_number_limit: '2' | |
- gradle-unit-test: | |
title: Gradle UI Test | |
inputs: | |
- unit_test_task: connectedCheck | |
- openstf-disconnect: | |
inputs: | |
- stf_host_url: "${STF_HOST_URL}" | |
- stf_access_token: "${STF_ACCESS_TOKEN}" | |
app: | |
envs: | |
- STF_ACCESS_TOKEN: STF API access token here | |
- STF_HOST_URL: STF host URL here e.g. https://stf.mycompany.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment