-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
41 lines (38 loc) · 1.75 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
name: 'Run benchmarks'
description: 'Run benchmarks in Firebase Test Labs, optionally updating an issue and collecting results'
inputs:
github_token:
description: 'If present, the github token to use to update the dashboard issue. Using a machine account personal access token is recommended.'
required: false
google_services_json:
description: 'a service account json with Owner permissions (could certainly be less but haven''t found a way yet). The GCP project must have "Google Cloud Testing API" and "Cloud Tool Results API" enabled'
required: true
test_apk:
description: 'the path to the test apk. This apk is passed to the --test option of gcloud'
required: true
app_apk:
description: 'the path to the app apk. This apk is passed to the --app option of gcloud. For microbenchmarks, use an empty or small apk'
required: true
device_model:
description: 'The device to use. See https://firebase.google.com/docs/test-lab/android/available-testing-devices'
required: true
default: 'redfin,locale=en,orientation=portrait'
directories_to_pull:
description: 'A coma separated list of additional directories to pull from the device. Refer to the gcloud help for more details.'
required: false
environment_variables:
description: 'A comma-separated, key=value map. Refer to the gcloud help for more details.'
required: false
dd_api_key:
description: 'A Datadog API key to upload data to Datadog'
required: false
dd_metric_prefix:
description: 'Datadog metric prefix.'
required: false
default: 'android.benchmark'
dd_dashboard_url:
description: 'The link to the dashboard. Will be included in the issue description if provided.'
required: false
runs:
using: 'node12'
main: 'index.js'