diff --git a/run-tests.sh b/run-tests.sh index 80f7cd7ee032c01a5826cd995efdd3ae0072b8f3..f1c6697abe33752b88328b917a77d044d292edee 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -1,3 +1,8 @@ #!/bin/sh set -e + +echo "\n\033[1;32mâ–¶ Running tests on macOS...\033[0m" +set -o pipefail && swift test 2>&1 | ./xcbeautify + +echo "\n\033[1;32mâ–¶ Running tests on iOS Simulator...\033[0m" set -o pipefail && xcodebuild -scheme 'elixxir-dapps-sdk-swift-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify