-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
68 lines (63 loc) · 2.1 KB
/
action.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
61
62
63
64
65
66
67
68
name: 'Emcee.cloud action'
description: 'This action encapsulates Command-Line interface for Emcee.cloud'
author: 'Avito'
inputs:
cloud_url:
description: 'Emcee.cloud URL (default "https://emcee.cloud")'
required: false
emcee_token:
description: 'Token for emcee.cloud API'
required: true
platform:
description: 'ios/android'
required: true
config_path:
description: 'Path to emcee.cloud config file'
required: false
app_path:
description: 'App binary (Path/URL) which you want to test'
required: false
envs:
description: 'Comma separated envs ex.ENV1=value1,ENV2=value2'
required: false
device_os_version:
description: 'Device OS version (API level for Android). ex --os_version 34 --os_version iOS-17-0'
required: false
output_folder:
description: 'Output folder for test run results. Default: current folder'
required: false
reports:
description: 'Comma separated list of reports to be downloaded upon completion. ex:allure,junit'
required: false
runner:
description: '[iOS] Path/URL to your test runner. [Android. Optional] Class name of your test runner'
required: false
tests_app_path:
description: 'Binary (Path/URL) with tests'
required: false
wait_for_finish:
description: 'Waiting for the tests to complete. Default: true'
required: false
# Define your outputs here.
outputs:
reports_path:
description: 'Path to downloaded reports'
runs:
using: 'docker'
image: 'Dockerfile'
env:
EMCEE_CLOUD_URL : ${{ inputs.cloud_url }}
EMCEE_TOKEN : ${{ inputs.emcee_token }}
EMCEE_PLATFORM : ${{ inputs.platform }}
EMCEE_CONFIG_PATH : ${{ inputs.config_path }}
EMCEE_APP_PATH : ${{ inputs.app_path }}
EMCEE_ENVS : ${{ inputs.envs }}
EMCEE_DEVICE_OS_VERSION : ${{ inputs.device_os_version }}
EMCEE_OUTPUT_FOLDER : ${{ inputs.output_folder }}
EMCEE_REPORTS : ${{ inputs.reports }}
EMCEE_RUNNER : ${{ inputs.runner }}
EMCEE_TESTS_APP_PATH : ${{ inputs.tests_app_path }}
EMCEE_WAIT_FOR_FINISH : ${{ inputs.wait_for_finish }}
branding:
icon: 'activity'
color: 'purple'