Merge pull request #97 from will-lumley/tech/docc #131
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] Unit Tests" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build and Test (iOS) | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install xcpretty | |
run: gem install xcpretty | |
- name: Setup Swift | |
uses: SwiftyLab/setup-swift@v1 | |
with: | |
swift-version: '6.0.0' | |
cache-snapshot: 'false' | |
- name: Check Xcode Version | |
run: xcodebuild -version | |
- name: Install Dependencies | |
run: xcodebuild -resolvePackageDependencies -verbose | |
- name: Test | |
run: xcodebuild test -scheme FaviconFinder -destination 'platform=iOS Simulator,name=iPhone 16,OS=latest' -skipPackagePluginValidation |