File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,4 +27,12 @@ install_cocoapods
2727echo " --- 🧪 Testing"
2828xcrun simctl list >> /dev/null
2929rake mocks &
30+ set +e
3031bundle exec fastlane test_without_building name:" $TEST_NAME " try_count:3 device:" $DEVICE " ios_version:" $IOS_VERSION "
32+ TESTS_EXIT_STATUS=$?
33+ set -e
34+
35+ echo " --- 📦 Zipping test results"
36+ cd build/results/ && zip -rq WordPress.xcresult.zip WordPress.xcresult
37+
38+ exit $TESTS_EXIT_STATUS
Original file line number Diff line number Diff line change 7676 # UI Tests
7777 # ################
7878 - label : " 🔬 UI Tests (iPhone)"
79- command :
80- - .buildkite/commands/run-ui-tests.sh WordPressUITests 'iPhone 13' 15.0
81- - " cd build/results/ && zip -rq WordPress.xcresult.zip WordPress.xcresult"
79+ command : .buildkite/commands/run-ui-tests.sh WordPressUITests 'iPhone 13' 15.0
8280 depends_on : " build"
8381 env : *common_env
8482 plugins : *common_plugins
8987 context : " UI Tests (iPhone)"
9088
9189 - label : " 🔬 UI Tests (iPad)"
92- command :
93- - .buildkite/commands/run-ui-tests.sh WordPressUITests "iPad Air (4th generation)" 15.0
94- - " cd build/results/ && zip -rq WordPress.xcresult.zip WordPress.xcresult"
90+ command : .buildkite/commands/run-ui-tests.sh WordPressUITests "iPad Air (4th generation)" 15.0
9591 depends_on : " build"
9692 env : *common_env
9793 plugins : *common_plugins
You can’t perform that action at this time.
0 commit comments