Merge pull request #2 from eskil/eskil/issue1/update-xcode #14
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: 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]} |