99
1010# This is the default pipeline – it will build and test the app
1111steps :
12- # ################
13- # Build the app
14- # ################
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
22-
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
33-
3412 - group : " :rocket: Prototype Build"
3513 if : build.branch == trunk
3614 steps :
@@ -44,97 +22,3 @@ steps:
4422 notify :
4523 - github_commit_status :
4624 context : Prototype Build From Trunk
47-
48- # ################
49- # Run Unit Tests
50- # ################
51- - label : " :microscope: Unit Tests"
52- command : .buildkite/commands/run-unit-tests.sh
53- depends_on : build
54- plugins : [$CI_TOOLKIT]
55- artifact_paths :
56- - fastlane/test_output/*
57- notify :
58- - github_commit_status :
59- context : Unit Tests
60-
61- - label : " :microscope: Standalone WordPressAuthenticator Unit Tests"
62- command : .buildkite/commands/run-wordpress-authenticator-tests.sh
63- plugins : [$CI_TOOLKIT]
64- artifact_paths :
65- - fastlane/test_output/*
66- notify :
67- - github_commit_status :
68- context : WordPressAuthenticator Unit Tests
69-
70- # ################
71- # Linters
72- # ################
73- - group : Linters
74- steps :
75- - label : " :radioactive_sign: Danger - PR Check"
76- command : danger
77- key : danger
78- if : build.pull_request.id != null
79- retry :
80- manual :
81- permit_on_passed : true
82- agents :
83- queue : linter
84- notify :
85- - github_commit_status :
86- context : Danger - PR Check
87-
88- - label : " :swift: SwiftLint"
89- command : swiftlint
90- notify :
91- - github_commit_status :
92- context : SwiftLint
93- agents :
94- queue : linter
95-
96-
97- - label : 🧹 Lint Translations
98- command : gplint /workdir/WooCommerce/Resources/AppStoreStrings.pot
99- plugins :
100- - docker#v3.8.0:
101- image : public.ecr.aws/automattic/glotpress-validator:1.0.0
102- agents :
103- queue : default
104- notify :
105- - github_commit_status :
106- context : Lint Translations
107-
108- - label : " :sleuth_or_spy: Lint Localized Strings Format"
109- command : .buildkite/commands/lint-localized-strings-format.sh
110- plugins : [$CI_TOOLKIT]
111- notify :
112- - github_commit_status :
113- context : Lint Localized Strings Format
114-
115- # ################
116- # UI Tests
117- # ################
118- - label : " :microscope: UI Tests (iPhone)"
119- command : .buildkite/commands/run-ui-tests.sh UITests "iPhone 16"
120- depends_on : build
121- # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736
122- if : build.branch == "trunk" || build.branch =~ /^release\//
123- plugins : [$CI_TOOLKIT]
124- artifact_paths :
125- - fastlane/test_output/*
126- notify :
127- - github_commit_status :
128- context : UI Tests (iPhone)
129-
130- - label : " :microscope: UI Tests (iPad)"
131- command : .buildkite/commands/run-ui-tests.sh UITests "iPad Pro 13-inch (M4)"
132- depends_on : build
133- # Only run on `trunk` and `release/*` -- See p91TBi-cBM-p2#comment-13736
134- if : build.branch == "trunk" || build.branch =~ /^release\//
135- plugins : [$CI_TOOLKIT]
136- artifact_paths :
137- - fastlane/test_output/*
138- notify :
139- - github_commit_status :
140- context : UI Tests (iPad)
0 commit comments