Skip to content
Snippets Groups Projects
Commit 92739f10 authored by Dariusz Rybicki's avatar Dariusz Rybicki
Browse files

Update run-tests script

parent d11f7809
No related branches found
No related tags found
2 merge requests!102Release 1.0.0,!50Add macOS support
This commit is part of merge request !50. Comments created here will be created in the context of that merge request.
...@@ -22,5 +22,5 @@ test-examples-ios: ...@@ -22,5 +22,5 @@ test-examples-ios:
tags: tags:
- ios - ios
script: script:
- ./run-tests.sh ios-examples - ./run-tests.sh examples-ios
retry: 1 retry: 1
...@@ -14,7 +14,7 @@ elif [ "$1" = "ios" ]; then ...@@ -14,7 +14,7 @@ elif [ "$1" = "ios" ]; then
echo "\n\033[1;32m▶ Running package tests on iOS Simulator...\033[0m" echo "\n\033[1;32m▶ Running package 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 set -o pipefail && xcodebuild -scheme 'elixxir-dapps-sdk-swift-Package' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
elif [ "$1" = "ios-examples" ]; then elif [ "$1" = "examples-ios" ]; then
echo "\n\033[1;32m▶ Running XXMessenger example tests on iOS Simulator...\033[0m" echo "\n\033[1;32m▶ Running XXMessenger example tests on iOS Simulator...\033[0m"
set -o pipefail && xcodebuild -workspace 'Examples/xx-messenger/XXMessenger.xcworkspace' -scheme 'XXMessenger' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify set -o pipefail && xcodebuild -workspace 'Examples/xx-messenger/XXMessenger.xcworkspace' -scheme 'XXMessenger' -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=15.5,name=iPhone 13' test | ./xcbeautify
...@@ -24,7 +24,7 @@ else ...@@ -24,7 +24,7 @@ else
echo "\n\033[1;31m▶ Invalid option.\033[0m Usage:" echo "\n\033[1;31m▶ Invalid option.\033[0m Usage:"
echo " run-tests.sh macos - Run package tests on macOS" echo " run-tests.sh macos - Run package tests on macOS"
echo " run-tests.sh ios - Run package tests on iOS Simulator" echo " run-tests.sh ios - Run package tests on iOS Simulator"
echo " run-tests.sh ios-examples - Run iOS examples tests" echo " run-tests.sh examples-ios - Run iOS examples tests"
exit 1 exit 1
fi fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment