-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathaction.yml
105 lines (105 loc) · 4.62 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
name: invoke
description: Invoke the ew-cli command to run Android instrumentation tests
inputs:
api-token:
description: 'Api token for emulator.wtf'
required: true
app:
description: 'Application apk file'
required: false
test:
description: 'Test apk file'
required: false
library-test:
description: 'Library test apk file'
required: false
outputs-dir:
description: 'Location to store test outputs in'
required: false
outputs:
description: "Comma-separated list to specify what to download to output-dir. Defaults to merged_results_xml,coverage,pulled_dirs"
required: false
record-video:
description: 'Set to true to record video of the test run'
required: false
devices:
description: 'Device configurations to use, in the form of model=X,version=Y per line'
required: false
timeout:
description: 'Max time until this test run is cancelled, expressed by a number followed by an unit (h, m or s), with the maximum value being 3h and minimum value being 60s (default: 15m)'
required: false
test-targets:
description: 'Test targets to run, one operator-target per line, e.g. class foo.bar.Foobar'
required: false
use-orchestrator:
description: 'Set to true to use the Android Test Orchestrator'
required: false
clear-package-data:
description: 'Set to true to clear app data between every test (only works with orchestrator)'
required: false
with-coverage:
description: 'Set to true to collect coverage files and save them to <outputs-dir>'
required: false
additional-apks:
description: 'Additional apks to install, one per line'
required: false
environment-variables:
description: 'Environment variables to pass to AndroidJUnitTestRunner, one per line in the form of key=value'
required: false
num-uniform-shards:
description: 'Set to a number larger than 1 to randomly split your tests into multiple shards.'
required: false
num-shards:
description: 'Set to a number larger than 1 to split your tests into even shards based on test count.'
required: false
num-balanced-shards:
description: 'Set to a number larger than 1 to split your tests into even shards based on historical runtime.'
required: false
shard-target-runtime:
description: 'Target runtime for each shard in seconds, tests will be split based to shards targeting this runtime for each shard based on historical data on a best effort basis.'
required: false
directories-to-pull:
description: 'Directories to pull from device and store in <outputs-dir>, one per line'
required: false
side-effects:
description: "Indicates that the test run has side effects, i.e. it hits external resources and might be a part of a bigger test suite. Adding this flag means that the test will not be automatically retried in case of errors. Default: false."
required: false
num-flaky-test-attempts:
description: "Number of times to re-run shards or jobs that had test failures. Repeat attempts will run in parallel. Default: 0."
required: false
flaky-test-repeat-mode:
description: "Whether to repeat the whole failed shard (all) or only the failed tests (failed_only) in case of flaky tests. Default: failed_only."
required: false
file-cache:
description: "Set to false to disable remote file cache - APK and test-data will always be uploaded, even if they were uploaded before"
required: false
file-cache-ttl:
description: "Max time to keep cached files in the backend followed by an unit (d,h, m or s), with the maximum value being 90d and minimum value being 5m (default: 1h)"
required: false
test-cache:
description: "Set to false to disable remote test cache - tests will always re-run, even if they were run before"
required: false
async:
description: "Run the test asynchronously, without waiting for the results. This shines when used together with GitHub integration."
required: false
display-name:
description: "Display name for the test run, this is used to identify the test run in the GitHub integration."
required: false
proxy-host:
description: "Configure a proxy host to use for all requests when making emulator.wtf API calls."
required: false
proxy-port:
description: "Configure a proxy port to use for all requests when making emulator.wtf API calls."
required: false
proxy-user:
description: "Set the proxy user to use for authentication."
required: false
proxy-password:
description: "Set the proxy password to use for authentication."
required: false
branding:
color: orange
icon: smartphone
runs:
using: node20
main: dist/index.js