forked from bitrise-steplib/bitrise-step-android-unit-test
-
Notifications
You must be signed in to change notification settings - Fork 1
/
step.yml
executable file
·92 lines (87 loc) · 3.4 KB
/
step.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
title: Android Unit Test
summary: This step runs your Android project's unit tests.
description: This step runs your Android project's unit tests.
website: https://github.com/bitrise-steplib/bitrise-step-android-unit-test
source_code_url: https://github.com/bitrise-steplib/bitrise-step-android-unit-test
support_url: https://github.com/bitrise-steplib/bitrise-step-android-unit-test/issues
host_os_tags:
- osx-10.10
- ubuntu-16.04
project_type_tags:
- android
- react-native
type_tags:
- test
is_requires_admin_user: true
is_always_run: false
is_skippable: false
toolkit:
go:
package_name: github.com/bitrise-steplib/bitrise-step-android-unit-test
inputs:
- project_location: $BITRISE_SOURCE_DIR
opts:
title: Project Location
summary: "The root directory of your android project, for example, where your root build gradle file exists (also gradlew, settings.gradle, etc...)"
description: "The root directory of your android project, for example, where your root build gradle file exists (also gradlew, settings.gradle, etc...)"
is_required: true
- module: ""
opts:
title: Module
summary: |
Set the module that you want to test. To see your available modules, please open your project in Android Studio and go to [Project Structure] and see the list on the left.
description: |
Set the module that you want to test. To see your available modules, please open your project in Android Studio and go to [Project Structure] and see the list on the left.
is_required: false
- variant: ""
opts:
title: Variant
summary: |
Set the variant that you want to test. To see your available variants, please open your project in Android Studio and go to [Project Structure] -> variants section.
description: |
Set the variant that you want to test. To see your available variants, please open your project in Android Studio and go to [Project Structure] -> variants section.
is_required: false
- arguments:
opts:
category: Options
title: Additional Gradle Arguments
summary: Extra arguments passed to the gradle task
description: Extra arguments passed to the gradle task
is_required: false
- report_path_pattern: "*build/reports"
opts:
category: Options
title: Report location pattern
summary: Will find the report dir with the given pattern.
description: Will find the report dir with the given pattern.
is_required: true
- result_path_pattern: "*build/test-results"
opts:
category: Options
title: Test results location pattern
summary: Will find the test-results dir with the given pattern.
description: Will find test-results dir with the given pattern.
is_required: true
- cache_level: "only_deps"
opts:
category: Options
title: Set the level of cache
description: |-
`all` - will cache build-cache and dependencies
`only_deps` - will cache dependencies only
`none` - won't cache any of the above
is_required: true
value_options:
- "all"
- "only_deps"
- "none"
- is_debug: "false"
opts:
category: Debug
title: "Enable Debug Mode"
summary: The step will print more verbose logs if enabled.
description: The step will print more verbose logs if enabled.
is_required: true
value_options:
- "false"
- "true"