Skip to content

[CM-2258] IOS Github Actions #5

[CM-2258] IOS Github Actions

[CM-2258] IOS Github Actions #5

Workflow file for this run

name: iOS Example App Tests
on:
push:
branches:
- dev
pull_request:
jobs:
test:
runs-on: macos-latest
steps:
# Step 1: Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Set up Xcode environment
- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.0' # Specify required Xcode version
# Step 3: Install dependencies (CocoaPods)
- name: Install CocoaPods dependencies
run: pod install --project-directory=Example
# Step 4: Run tests for Example App
- name: Run Example App Tests
run: |
xcodebuild test \
-workspace Example/Kommunicate.xcworkspace \
-scheme Kommunicate_Example \
-destination 'platform=iOS Simulator,name=iPhone 14,OS=16.0' \
| xcpretty