@@ -5,31 +5,36 @@ common_params:
55 - automattic/bash-cache#2.1.0
66
77steps :
8- - label : " checkstyle"
9- command : |
10- cp gradle.properties-example gradle.properties
11- ./gradlew checkstyle
12- plugins : *common_plugins
13- artifact_paths :
14- - " **/build/reports/checkstyle/checkstyle.*"
8+ # ################
9+ # Linters
10+ # ################
11+ - group : " 🕵️♂️ Linters"
12+ steps :
13+ - label : " checkstyle"
14+ command : |
15+ cp gradle.properties-example gradle.properties
16+ ./gradlew checkstyle
17+ plugins : *common_plugins
18+ artifact_paths :
19+ - " **/build/reports/checkstyle/checkstyle.*"
1520
16- - label : " detekt"
17- command : |
18- cp gradle.properties-example gradle.properties
19- ./gradlew detekt
20- plugins : *common_plugins
21- artifact_paths :
22- - " **/build/reports/detekt/detekt.html"
21+ - label : " detekt"
22+ command : |
23+ cp gradle.properties-example gradle.properties
24+ ./gradlew detekt
25+ plugins : *common_plugins
26+ artifact_paths :
27+ - " **/build/reports/detekt/detekt.html"
2328
24- - label : " Lint WordPress"
25- command : " .buildkite/commands/lint.sh wordpress"
26- artifact_paths :
27- - " **/build/reports/lint-results*.*"
29+ - label : " Lint WordPress"
30+ command : " .buildkite/commands/lint.sh wordpress"
31+ artifact_paths :
32+ - " **/build/reports/lint-results*.*"
2833
29- # - label: "Lint Jetpack"
30- # command: ".buildkite/commands/lint.sh jetpack"
31- # artifact_paths:
32- # - "**/build/reports/lint-results*.*"
34+ # - label: "Lint Jetpack"
35+ # command: ".buildkite/commands/lint.sh jetpack"
36+ # artifact_paths:
37+ # - "**/build/reports/lint-results*.*"
3338
3439 - label : " Dependency Tree Diff"
3540 command : |
@@ -38,36 +43,49 @@ steps:
3843 if : build.pull_request.id != null
3944 plugins : *common_plugins
4045
41- - label : " Test WordPress"
42- command : |
43- cp gradle.properties-example gradle.properties
44- ./gradlew testWordpressVanillaRelease
45- plugins : *common_plugins
46+ # ################
47+ # Unit Tests
48+ # ################
49+ - group : " 🔬 Unit Tests"
50+ steps :
51+ - label : " Test WordPress"
52+ command : |
53+ cp gradle.properties-example gradle.properties
54+ ./gradlew testWordpressVanillaRelease
55+ plugins : *common_plugins
4656
47- - label : " Test Processors"
48- command : |
49- cp gradle.properties-example gradle.properties
50- ./gradlew :libs:processors:test
51- plugins : *common_plugins
57+ - label : " Test Processors"
58+ command : |
59+ cp gradle.properties-example gradle.properties
60+ ./gradlew :libs:processors:test
61+ plugins : *common_plugins
5262
53- - label : " Test Image Editor"
54- command : |
55- cp gradle.properties-example gradle.properties
56- ./gradlew :libs:image-editor:test
57- plugins : *common_plugins
63+ - label : " Test Image Editor"
64+ command : |
65+ cp gradle.properties-example gradle.properties
66+ ./gradlew :libs:image-editor:test
67+ plugins : *common_plugins
5868
59- - label : " Instrumented tests"
69+ # ################
70+ # Instrumented (aka UI) Tests
71+ # ################
72+ - label : " 🔬 Instrumented tests"
6073 command : " .buildkite/commands/instrumented-tests.sh"
6174 plugins : *common_plugins
6275 artifact_paths :
6376 - " **/build/instrumented-tests/**/*"
6477
65- - label : " 🛠 WordPress Installable Build"
66- command : " .buildkite/commands/installable-build.sh wordpress"
67- if : build.pull_request.id != null
68- plugins : *common_plugins
78+ # ################
79+ # Create Installable Builds for WP and JP
80+ # ################
81+ - group : " 🛠 Installable Builds"
82+ steps :
83+ - label : " 🛠 WordPress Installable Build"
84+ command : " .buildkite/commands/installable-build.sh wordpress"
85+ if : build.pull_request.id != null
86+ plugins : *common_plugins
6987
70- - label : " 🛠 Jetpack Installable Build"
71- command : " .buildkite/commands/installable-build.sh jetpack"
72- if : build.pull_request.id != null
73- plugins : *common_plugins
88+ - label : " 🛠 Jetpack Installable Build"
89+ command : " .buildkite/commands/installable-build.sh jetpack"
90+ if : build.pull_request.id != null
91+ plugins : *common_plugins
0 commit comments