From 92739f10ccb38b27fcc83a28b261e805056a017a Mon Sep 17 00:00:00 2001 From: Dariusz Rybicki <dariusz@elixxir.io> Date: Tue, 30 Aug 2022 21:22:31 +0100 Subject: [PATCH] Update run-tests script --- .gitlab-ci.yml | 2 +- run-tests.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index de244d55..9e87f241 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,5 +22,5 @@ test-examples-ios: tags: - ios script: - - ./run-tests.sh ios-examples + - ./run-tests.sh examples-ios retry: 1 diff --git a/run-tests.sh b/run-tests.sh index 21fc4d89..1f9d60c4 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -14,7 +14,7 @@ elif [ "$1" = "ios" ]; then 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 -elif [ "$1" = "ios-examples" ]; then +elif [ "$1" = "examples-ios" ]; then 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 @@ -24,7 +24,7 @@ else echo "\n\033[1;31m▶ Invalid option.\033[0m Usage:" 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-examples - Run iOS examples tests" + echo " run-tests.sh examples-ios - Run iOS examples tests" exit 1 fi -- GitLab