You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
echo "export SLACK_FAILURE_MESSAGE=':red_circle: WooCommerce iOS UI tests failed on ${DEVICE_NAME} in \`${CIRCLE_BRANCH}\` branch by ${CIRCLE_USERNAME}.\n\nPlease reach out in #platform9 if you think this failure is not caused by your changes, so we can investigate.'" >> $BASH_ENV
135
+
# Get the name of the device that is running.
136
+
echo "export SLACK_FAILURE_MESSAGE=':red_circle: WooCommerce iOS UI tests failed on << parameters.device >> in \`${CIRCLE_BRANCH}\` branch by ${CIRCLE_USERNAME}.\n\nPlease reach out in #platform9 if you think this failure is not caused by your changes, so we can investigate.'" >> $BASH_ENV
117
137
- slack/status:
118
138
fail_only: true
119
139
include_job_number_field: false
@@ -122,7 +142,7 @@ jobs:
122
142
Installable Build:
123
143
executor:
124
144
name: ios/default
125
-
xcode-version: "12.0.0"
145
+
<<: *xcode_version
126
146
steps:
127
147
- git/shallow-checkout
128
148
- fix-image
@@ -144,9 +164,9 @@ jobs:
144
164
path: Artifacts
145
165
destination: Artifacts
146
166
Release Build:
147
-
executor:
167
+
executor:
148
168
name: ios/default
149
-
xcode-version: "12.0.0"
169
+
<<: *xcode_version
150
170
environment:
151
171
HOMEBREW_NO_AUTO_UPDATE: 1
152
172
steps:
@@ -183,13 +203,15 @@ jobs:
183
203
workflows:
184
204
woocommerce_ios:
185
205
jobs:
186
-
- Build Tests
206
+
- Build Tests:
207
+
<<: *iphone_test_device
187
208
- Unit Tests:
209
+
<<: *iphone_test_device
188
210
requires: [ "Build Tests" ]
189
211
# Always run UI tests on develop and release branches
0 commit comments