@@ -12,114 +12,114 @@ steps:
1212 # ################
1313 # Build the app
1414 # ################
15- # - label: ":pipeline: Build"
16- # key: build
17- # command: .buildkite/commands/build-for-testing.sh
18- # plugins: [$CI_TOOLKIT]
19- # notify:
20- # - github_commit_status:
21- # context: Build
15+ - label : " :pipeline: Build"
16+ key : build
17+ command : .buildkite/commands/build-for-testing.sh
18+ plugins : [$CI_TOOLKIT]
19+ notify :
20+ - github_commit_status :
21+ context : Build
2222
23- # # ################
24- # # Create Prototype Build
25- # # ################
26- # - label: ":hammer_and_wrench: Prototype Build"
27- # command: .buildkite/commands/prototype-build.sh
28- # plugins: [$CI_TOOLKIT]
29- # if: build.pull_request.id != null
30- # notify:
31- # - github_commit_status:
32- # context: Prototype Build
23+ # ################
24+ # Create Prototype Build
25+ # ################
26+ - label : " :hammer_and_wrench: Prototype Build"
27+ command : .buildkite/commands/prototype-build.sh
28+ plugins : [$CI_TOOLKIT]
29+ if : build.pull_request.id != null
30+ notify :
31+ - github_commit_status :
32+ context : Prototype Build
3333
34- # # ################
35- # # Run Unit Tests
36- # # ################
37- # - label: ":microscope: Unit Tests"
38- # command: .buildkite/commands/run-unit-tests.sh
39- # depends_on: build
40- # plugins: [$CI_TOOLKIT]
41- # artifact_paths:
42- # - fastlane/test_output/*
43- # notify:
44- # - github_commit_status:
45- # context: Unit Tests
34+ # ################
35+ # Run Unit Tests
36+ # ################
37+ - label : " :microscope: Unit Tests"
38+ command : .buildkite/commands/run-unit-tests.sh
39+ depends_on : build
40+ plugins : [$CI_TOOLKIT]
41+ artifact_paths :
42+ - fastlane/test_output/*
43+ notify :
44+ - github_commit_status :
45+ context : Unit Tests
4646
47- # - label: ":microscope: Standalone WordPressAuthenticator Unit Tests"
48- # command: .buildkite/commands/run-wordpress-authenticator-tests.sh
49- # plugins: [$CI_TOOLKIT]
50- # artifact_paths:
51- # - fastlane/test_output/*
52- # notify:
53- # - github_commit_status:
54- # context: WordPressAuthenticator Unit Tests
47+ - label : " :microscope: Standalone WordPressAuthenticator Unit Tests"
48+ command : .buildkite/commands/run-wordpress-authenticator-tests.sh
49+ plugins : [$CI_TOOLKIT]
50+ artifact_paths :
51+ - fastlane/test_output/*
52+ notify :
53+ - github_commit_status :
54+ context : WordPressAuthenticator Unit Tests
5555
56- # # ################
57- # # Linters
58- # # ################
59- # - group: Linters
60- # steps:
61- # - label: ":radioactive_sign: Danger - PR Check"
62- # command: danger
63- # key: danger
64- # if: build.pull_request.id != null
65- # retry:
66- # manual:
67- # permit_on_passed: true
68- # agents:
69- # queue: linter
70- # notify:
71- # - github_commit_status:
72- # context: Danger - PR Check
56+ # ################
57+ # Linters
58+ # ################
59+ - group : Linters
60+ steps :
61+ - label : " :radioactive_sign: Danger - PR Check"
62+ command : danger
63+ key : danger
64+ if : build.pull_request.id != null
65+ retry :
66+ manual :
67+ permit_on_passed : true
68+ agents :
69+ queue : linter
70+ notify :
71+ - github_commit_status :
72+ context : Danger - PR Check
7373
74- # - label: ":swift: SwiftLint"
75- # command: swiftlint
76- # notify:
77- # - github_commit_status:
78- # context: SwiftLint
79- # agents:
80- # queue: linter
74+ - label : " :swift: SwiftLint"
75+ command : swiftlint
76+ notify :
77+ - github_commit_status :
78+ context : SwiftLint
79+ agents :
80+ queue : linter
8181
82- # - label: 🧹 Lint Translations
83- # command: gplint /workdir/WooCommerce/Resources/AppStoreStrings.pot
84- # plugins:
85- # - docker#v3.8.0:
86- # image: public.ecr.aws/automattic/glotpress-validator:1.0.0
87- # agents:
88- # queue: default
89- # notify:
90- # - github_commit_status:
91- # context: Lint Translations
82+ - label : 🧹 Lint Translations
83+ command : gplint /workdir/WooCommerce/Resources/AppStoreStrings.pot
84+ plugins :
85+ - docker#v3.8.0:
86+ image : public.ecr.aws/automattic/glotpress-validator:1.0.0
87+ agents :
88+ queue : default
89+ notify :
90+ - github_commit_status :
91+ context : Lint Translations
9292
93- # - label: ":sleuth_or_spy: Lint Localized Strings Format"
94- # command: .buildkite/commands/lint-localized-strings-format.sh
95- # plugins: [$CI_TOOLKIT]
96- # notify:
97- # - github_commit_status:
98- # context: Lint Localized Strings Format
93+ - label : " :sleuth_or_spy: Lint Localized Strings Format"
94+ command : .buildkite/commands/lint-localized-strings-format.sh
95+ plugins : [$CI_TOOLKIT]
96+ notify :
97+ - github_commit_status :
98+ context : Lint Localized Strings Format
9999
100- # # ################
101- # # UI Tests
102- # # ################
103- # - label: ":microscope: UI Tests (iPhone)"
104- # command: .buildkite/commands/run-ui-tests.sh UITests "iPhone 16"
105- # depends_on: build
106- # # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736
107- # if: build.branch == "trunk" || build.branch =~ /^release\//
108- # plugins: [$CI_TOOLKIT]
109- # artifact_paths:
110- # - fastlane/test_output/*
111- # notify:
112- # - github_commit_status:
113- # context: UI Tests (iPhone)
100+ # ################
101+ # UI Tests
102+ # ################
103+ - label : " :microscope: UI Tests (iPhone)"
104+ command : .buildkite/commands/run-ui-tests.sh UITests "iPhone 16"
105+ depends_on : build
106+ # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736
107+ if : build.branch == "trunk" || build.branch =~ /^release\//
108+ plugins : [$CI_TOOLKIT]
109+ artifact_paths :
110+ - fastlane/test_output/*
111+ notify :
112+ - github_commit_status :
113+ context : UI Tests (iPhone)
114114
115- # - label: ":microscope: UI Tests (iPad)"
116- # command: .buildkite/commands/run-ui-tests.sh UITests "iPad Pro 13-inch (M4)"
117- # depends_on: build
118- # # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736
119- # if: build.branch == "trunk" || build.branch =~ /^release\//
120- # plugins: [$CI_TOOLKIT]
121- # artifact_paths:
122- # - fastlane/test_output/*
123- # notify:
124- # - github_commit_status:
125- # context: UI Tests (iPad)
115+ - label : " :microscope: UI Tests (iPad)"
116+ command : .buildkite/commands/run-ui-tests.sh UITests "iPad Pro 13-inch (M4)"
117+ depends_on : build
118+ # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736
119+ if : build.branch == "trunk" || build.branch =~ /^release\//
120+ plugins : [$CI_TOOLKIT]
121+ artifact_paths :
122+ - fastlane/test_output/*
123+ notify :
124+ - github_commit_status :
125+ context : UI Tests (iPad)
0 commit comments