From 556eb99f8482441a0a6aeca0daaadd762304ee29 Mon Sep 17 00:00:00 2001 From: Artur Guseinov Date: Tue, 31 May 2022 16:30:40 +0500 Subject: [PATCH] UITests step on CI Update swift.yml --- .github/workflows/swift.yml | 25 ++++++++++++-------- Example/ExampleApp.xcodeproj/project.pbxproj | 4 ++-- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 19ce60fbf..6be43be26 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -19,14 +19,19 @@ jobs: with: xcode-version: '13.2' -# Package builds - - name: Build Package - run: swift build -v - - name: Run tests - run: swift test -v +# # Package builds +# - name: Build Package +# run: swift build -v +# - name: Run tests +# run: swift test -v -# Example app builds - - name: Build Example Wallet - run: xcodebuild -project Example/ExampleApp.xcodeproj -scheme Wallet -sdk iphonesimulator - - name: Build Example Dapp - run: xcodebuild -project Example/ExampleApp.xcodeproj -scheme DApp -sdk iphonesimulator +# # Example app builds +# - name: Build Example Wallet +# run: xcodebuild -project Example/ExampleApp.xcodeproj -scheme Wallet -sdk iphonesimulator +# - name: Build Example Dapp +# run: xcodebuild -project Example/ExampleApp.xcodeproj -scheme DApp -sdk iphonesimulator + +# UI tests + - name: UI Tests + run: xcodebuild -project Example/ExampleApp.xcodeproj -scheme UITests 'platform=iOS Simulator,name=iPhone 13' + continue-on-error: true diff --git a/Example/ExampleApp.xcodeproj/project.pbxproj b/Example/ExampleApp.xcodeproj/project.pbxproj index c10f4a8ff..f128b6c84 100644 --- a/Example/ExampleApp.xcodeproj/project.pbxproj +++ b/Example/ExampleApp.xcodeproj/project.pbxproj @@ -1073,7 +1073,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = W5R8AG9K22; GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.4; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.walletconnect.UITests; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1092,7 +1092,7 @@ CURRENT_PROJECT_VERSION = 1; DEVELOPMENT_TEAM = W5R8AG9K22; GENERATE_INFOPLIST_FILE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 15.4; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MARKETING_VERSION = 1.0; PRODUCT_BUNDLE_IDENTIFIER = com.walletconnect.UITests; PRODUCT_NAME = "$(TARGET_NAME)";