This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
Update README.md for archival #6
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: ios-tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
unit-tests: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: cd apps/ios && bundle install && gem uninstall cocoapods --version '>= 1.12.0' | |
# cocoapods-patch does not support cocoapods 1.12.0 yet | |
- run: cd apps/ios && pod install | |
- name: Build | |
run: xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 13' | |
- name: Test | |
run: xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 13' |