fix: Rokt User Attribute Mapping Fix #910
This file contains hidden or 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 | |
| env: | |
| XCODE_VERSION: "16.4" | |
| jobs: | |
| native-unit-tests: | |
| strategy: | |
| fail-fast: false | |
| max-parallel: 4 | |
| 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@v5 | |
| - name: Set up Xcode | |
| uses: maxim-lobanov/setup-xcode@v1 | |
| with: | |
| xcode-version: ${{ env.XCODE_VERSION }} | |
| - name: Setup specified simulator | |
| uses: futureware-tech/simulator-action@v4 | |
| id: simulator | |
| with: | |
| model: ${{ matrix.device }} | |
| os: ${{ matrix.platform }} | |
| os_version: '>=18.0' | |
| erase_before_boot: true | |
| wait_for_boot: true | |
| shutdown_after_job: true | |
| - name: Run unit tests | |
| run: xcodebuild -project mParticle-Apple-SDK.xcodeproj -scheme ${{ matrix.scheme }} -destination 'id=${{ steps.simulator.outputs.UDID }}' test |