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
# Keep the (otherwise collapsed) current "Testing" section open in Buildkite logs on error. See https://buildkite.com/docs/pipelines/managing-log-output#collapsing-output
28
+
echo"^^^ +++"
29
+
echo"Unit Tests failed!"
30
+
fi
31
+
32
+
echo"--- 📦 Zipping test results"
33
+
cd build/results/ && zip -rq "$scheme.xcresult.zip""$scheme.xcresult"&&cd -
34
+
35
+
echo"--- 🚦 Report Tests Status"
36
+
if [[ $TESTS_EXIT_STATUS-eq 0 ]];then
37
+
echo"Unit Tests seems to have passed (exit code 0). All good 👍"
38
+
else
39
+
echo"The Unit Tests, ran during the '🔬 Testing' step above, have failed."
40
+
echo"For more details about the failed tests, check the Buildkite annotation, the logs under the '🔬 Testing' section and the \`.xcresult\` and test reports in Buildkite artifacts."
41
+
fi
42
+
43
+
if [[ $BUILDKITE_BRANCH== trunk ]] || [[ $BUILDKITE_BRANCH== release/* ]];then
0 commit comments