Skip to content

Commit

Permalink
tests: clean build before running unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuriy Velichko committed Sep 25, 2024
1 parent 2b332e4 commit 630602e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/testPrebidMobile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ pod install --repo-update

echo -e "\n\n${GREEN}TEST PREBID MOBILE${NC}\n\n"

echo -e "\n${GREEN}Clean build\n"

xcodebuild clean build

if [ "$run_only_with_latest_ios" != "YES" ]
then
echo -e "\n${GREEN}Running some unit tests for iOS 13${NC} \n"
Expand All @@ -57,6 +61,8 @@ xcodebuild test \
-scheme "PrebidMobileTests" \
-destination 'platform=iOS Simulator,name=iPhone 15 Pro,OS=latest' | xcpretty --color --test



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

0 comments on commit 630602e

Please sign in to comment.