Skip to content

feat: SDKE-61 Extract and test callback logic. Part 3 #662

feat: SDKE-61 Extract and test callback logic. Part 3

feat: SDKE-61 Extract and test callback logic. Part 3 #662

Workflow file for this run

name: Xcode Tests
on:
# Run for all PRs
pull_request:
# Run again once merged into development branch
push:
branches:
- development
env:
XCODE_VERSION: "16.4"
jobs:
native-unit-tests:
strategy:
matrix:
platform: [iOS, tvOS]
scheme: [mParticle-Apple-SDK, mParticle-Apple-SDK-NoLocation]
include:
- platform: iOS
device: iPhone 16 Pro
- platform: tvOS
device: Apple TV 4K (3rd generation)
runs-on: macOS-15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ env.XCODE_VERSION }}.app
- name: Run iOS unit tests
run: xcodebuild -project mParticle-Apple-SDK.xcodeproj -scheme ${{ matrix.scheme }} -destination 'platform=${{ matrix.platform }} Simulator,name=${{ matrix.device }},OS=latest' test