refactor: Update MPResponseConfig to Swift #432
Workflow file for this run
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: 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 |