chore: Add unit tests for macOS #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run UI Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
ui-test-ios: | |
runs-on: macos-13 | |
steps: | |
- name: Select Xcode | |
run: sudo xcode-select -switch /Applications/Xcode_15.0.app | |
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2 | |
- name: UI test Authenticator on iOS | |
run: xcodebuild test -project Tests/AuthenticatorHostApp/AuthenticatorHostApp.xcodeproj -scheme AuthenticatorHostApp -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max,OS=17.0' | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]} |