Skip to content

Commit

Permalink
feat: update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
OlenaPostindustria committed Jun 25, 2024
1 parent 21ee0b5 commit be22b6c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion scripts/testPrebidDemo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ else
SCHEME="PrebidDemoTests"
TEST="Integration"
fi
xcodebuild test -workspace PrebidMobile.xcworkspace -scheme $SCHEME -test-iterations 2 -retry-tests-on-failure -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest' | xcpretty -f `xcpretty-travis-formatter` --color --test
xcodebuild test -workspace PrebidMobile.xcworkspace -scheme $SCHEME -test-iterations 2 -retry-tests-on-failure -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' | xcpretty -f `xcpretty-travis-formatter` --color --test

if [[ ${PIPESTATUS[0]} == 0 ]]; then
echo "${TEST} Tests Passed"
Expand Down
8 changes: 4 additions & 4 deletions scripts/testPrebidMobile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ echo -e "\n${GREEN}Running PrebidMobile unit tests${NC} \n"
xcodebuild test \
-workspace PrebidMobile.xcworkspace \
-scheme "PrebidMobileTests" \
-destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest' | xcpretty --color --test
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' | xcpretty --color --test

if [[ ${PIPESTATUS[0]} == 0 ]]; then
echo "✅ PrebidMobile Unit Tests Passed"
Expand All @@ -67,7 +67,7 @@ echo -e "\n${GREEN}Running PrebidMobileGAMEventHandlers unit tests${NC} \n"
xcodebuild test \
-workspace PrebidMobile.xcworkspace \
-scheme "PrebidMobileGAMEventHandlersTests" \
-destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest' | xcpretty --color --test
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' | xcpretty --color --test

if [[ ${PIPESTATUS[0]} == 0 ]]; then
echo "✅ PrebidMobileGAMEventHandlers Unit Tests Passed"
Expand All @@ -77,7 +77,7 @@ else
fi

echo -e "\n${GREEN}Running PrebidMobileAdMobAdapters unit tests${NC} \n"
xcodebuild test -workspace PrebidMobile.xcworkspace -scheme "PrebidMobileAdMobAdaptersTests" -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest' | xcpretty -f `xcpretty-travis-formatter` --color --test
xcodebuild test -workspace PrebidMobile.xcworkspace -scheme "PrebidMobileAdMobAdaptersTests" -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' | xcpretty -f `xcpretty-travis-formatter` --color --test

if [[ ${PIPESTATUS[0]} == 0 ]]; then
echo "✅ PrebidMobileAdMobAdapters Unit Tests Passed"
Expand All @@ -87,7 +87,7 @@ else
fi

echo -e "\n${GREEN}Running PrebidMobileMAXAdapters unit tests${NC} \n"
xcodebuild test -workspace PrebidMobile.xcworkspace -scheme "PrebidMobileMAXAdaptersTests" -destination 'platform=iOS Simulator,name=iPhone 14 Pro,OS=latest' | xcpretty -f `xcpretty-travis-formatter` --color --test
xcodebuild test -workspace PrebidMobile.xcworkspace -scheme "PrebidMobileMAXAdaptersTests" -destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' | xcpretty -f `xcpretty-travis-formatter` --color --test

if [[ ${PIPESTATUS[0]} == 0 ]]; then
echo "✅ PrebidMobileMAXAdapters Unit Tests Passed"
Expand Down

0 comments on commit be22b6c

Please sign in to comment.