Skip to content

refactor: Port MParticleWebView to Swift #441

refactor: Port MParticleWebView to Swift

refactor: Port MParticleWebView to Swift #441

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
jobs:
native-unit-tests:
strategy:
matrix:
xcode: ["15.2"]
platform: [iOS, tvOS]
scheme: [mParticle-Apple-SDK, mParticle-Apple-SDK-NoLocation]
include:
- platform: iOS
device: iPhone 15
- platform: tvOS
device: Apple TV
runs-on: macos-13
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.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