Skip to content

Merge pull request #97 from will-lumley/tech/docc #131

Merge pull request #97 from will-lumley/tech/docc

Merge pull request #97 from will-lumley/tech/docc #131

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