Merge pull request #63 from OneBusAway/plist #91
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: OTPKitTests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Switch Xcode 15 | |
run: sudo xcode-select -switch /Applications/Xcode_15.0.1.app | |
# Build | |
- name: Build OTPKit | |
run: | | |
xcodebuild build-for-testing \ | |
-scheme OTPKit \ | |
-destination "platform=iOS Simulator,name=iPhone 15,OS=latest" \ | |
-enableCodeCoverage YES | |
# Upload results | |
- uses: kishikawakatsumi/[email protected] | |
continue-on-error: true | |
with: | |
show-passed-tests: false # Avoid truncation of annotations by GitHub by omitting succeeding tests. | |
path: | | |
OTPKitTests.xcresult | |
if: success() || failure() |