Skip to content

CI Updates

CI Updates #137

Workflow file for this run

name: Xcode test
on: [push, pull_request]
jobs:
Test:
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Select Xcode
run: sudo xcode-select -switch /Applications/Xcode_12.4.app
- name: Xcode version
run: /usr/bin/xcodebuild -version
- name: Xcode unit tests
run: |
cd Xcode/
xcodebuild clean test -scheme TheNews -destination 'platform=iOS Simulator,name=iPhone 12,OS=14.4' -resultBundlePath TestResults
- uses: kishikawakatsumi/xcresulttool@v1
with:
path: Xcode/TestResults.xcresult
if: success() || failure()