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,13 @@ 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+ echo " --- 🚦 Report Tests Exit Status"
39+ exit $TESTS_EXIT_STATUS
Original file line number Diff line number Diff line change 8181 env : *common_env
8282 plugins : *common_plugins
8383 artifact_paths :
84- - " build/results/"
84+ - " build/results/* "
8585 notify :
8686 - github_commit_status :
8787 context : " UI Tests (iPhone)"
9292 env : *common_env
9393 plugins : *common_plugins
9494 artifact_paths :
95- - " build/results/"
95+ - " build/results/* "
9696 notify :
9797 - github_commit_status :
9898 context : " UI Tests (iPad)"
You can’t perform that action at this time.
0 commit comments