File tree Expand file tree Collapse file tree 6 files changed +30
-4
lines changed
Expand file tree Collapse file tree 6 files changed +30
-4
lines changed Original file line number Diff line number Diff line change 3535 # apiKeyEnvVar: MARATHON_CLOUD_API_TOKEN
3636 # application: app.apk
3737 # testApplication: appTest.apk
38+ # platform: Android
3839 print-help-test :
3940 executor : marathon-cloud-orb/default
4041 steps :
Original file line number Diff line number Diff line change @@ -8,11 +8,15 @@ parameters:
88 application :
99 type : string
1010 description : >
11- Application binary path, e.g. apk file for Android
11+ Application binary path, e.g. apk file for Android or zip file of iOS Application
1212 testApplication :
1313 type : string
1414 description : >
15- Test application binary path, e.g. apk file for Android
15+ Test application binary path, e.g. apk file for Android or zip file of iOS Test Runner app
16+ platform :
17+ type : string
18+ description : >
19+ Testing platform. Android or iOS only
1620 output :
1721 type : string
1822 default : " marathon"
2428 ORB_API_KEY_ENV_VAR : <<parameters.apiKeyEnvVar>>
2529 ORB_APPLICATION : <<parameters.application>>
2630 ORB_TEST_APPLICATION : <<parameters.testApplication>>
31+ ORB_PLATFORM : <<parameters.platform>>
2732 ORB_OUTPUT : <<parameters.output>>
2833 command : <<include(scripts/run-tests.sh)>>
Original file line number Diff line number Diff line change 1212 apiKeyEnvVar : MARATHON_CLOUD_API_TOKEN # don't forget to add a token
1313 application : app/build/outputs/apk/debug/app-debug.apk
1414 testApplication : app/build/outputs/apk/androidTest/debug/app-debug-androidTest.apk
15+ platform : Android
1516 workflows :
1617 marathon-cloud-orb-example :
1718 jobs :
Original file line number Diff line number Diff line change 1+ description : >
2+ Run a job inside the marathon-cloud cli container, via this orb's executor.
3+ usage :
4+ version : 2.1
5+ orbs :
6+ marathon-cloud :
marathonlabs/[email protected] 7+ jobs :
8+ run-tests-using-marathon-cloud :
9+ executor : marathon-cloud/default
10+ steps :
11+ - marathon-cloud/run_tests :
12+ apiKeyEnvVar : MARATHON_CLOUD_API_TOKEN # don't forget to add a token
13+ application : /home/user/workspace/sample.zip
14+ testApplication : /home/user/workspace/sampleUITests-Runner.zip
15+ platform : iOS
16+ workflows :
17+ marathon-cloud-orb-example :
18+ jobs :
19+ - run-tests-using-marathon-cloud
Original file line number Diff line number Diff line change 44 - image : ' marathonlabs/marathon-cloud:<<parameters.tag>>'
55parameters :
66 tag :
7- default : 0.1.2
7+ default : 0.2.0
88 description : >
99 Pick a specific marathonlabs/marathon-cloud image variant:
1010 https://hub.docker.com/r/marathonlabs/marathon-cloud/tags
Original file line number Diff line number Diff line change 22
33API_KEY=$( eval echo \$ " $ORB_API_KEY_ENV_VAR " )
44
5- marathon-cloud -api-key " $API_KEY " -apk " $ORB_APPLICATION " -testapk " $ORB_TEST_APPLICATION " -o " $ORB_OUTPUT "
5+ marathon-cloud -api-key " $API_KEY " -app " $ORB_APPLICATION " -testapp " $ORB_TEST_APPLICATION " -o " $ORB_OUTPUT " -platform " $ORB_PLATFORM "
You can’t perform that action at this time.
0 commit comments