diff --git a/run-tests.sh b/run-tests.sh index e5b93961a6b9d1efec486e5e9cb851d1f30c871b..cb1b500b42970eeec7b13c6c6609ddd886b6bdc6 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -4,7 +4,7 @@ set -e if [ "$1" = "macos" ]; then echo "\n\033[1;32m▶ Running package tests on macOS...\033[0m" - swift test 2>&1 | ./xcbeautify + set -o pipefail && swift test 2>&1 | ./xcbeautify elif [ "$1" = "ios" ]; then