Skip to content

Commit

Permalink
UITests step on CI
Browse files Browse the repository at this point in the history
  • Loading branch information
flypaper0 committed May 31, 2022
1 parent f162c7d commit ac73248
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 12 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -destination 'platform=iOS Simulator,name=iPhone 13' test
continue-on-error: true
4 changes: 2 additions & 2 deletions Example/ExampleApp.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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)";
Expand All @@ -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)";
Expand Down

0 comments on commit ac73248

Please sign in to comment.