Skip to content

Merge pull request #2 from eskil/eskil/issue1/update-xcode #14

Merge pull request #2 from eskil/eskil/issue1/update-xcode

Merge pull request #2 from eskil/eskil/issue1/update-xcode #14

name: xcode-unit-tests
on: [push]
jobs:
run_tests:
runs-on: macos-13
steps:
- uses: actions/checkout@v1
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_14.3.app && /usr/bin/xcodebuild -version
- name: Run tests
run: xcodebuild test -project DegreeCalculator.xcodeproj -scheme DegreeCalculator -sdk iphonesimulator -destination 'platform=iOS Simulator,name=iPhone 14,OS=16.4' | xcpretty && exit ${PIPESTATUS[0]}