Skip to content

Merge pull request #1024 from mixpanel/jared-privacy-resource #252

Merge pull request #1024 from mixpanel/jared-privacy-resource

Merge pull request #1024 from mixpanel/jared-privacy-resource #252

Workflow file for this run

name: Mixpanel ObjC SDK action
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
strategy:
matrix:
destination: ['name="iPhone 14 Pro",OS=latest']
scheme: ['"[iOS] HelloMixpanel"']
steps:
- uses: actions/checkout@v2
- name: Run Test
working-directory: HelloMixpanel
run: |
set -o pipefail
xcodebuild -scheme ${{ matrix.scheme }} -derivedDataPath Build/ -destination ${{ matrix.destination }} -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test | xcpretty -c;
- name: Pod Lint
run: pod lib lint --platforms=ios,tvos --allow-warnings
- name: Code Coverage Report
working-directory: HelloMixpanel/build/Logs/Test
run: |
xcrun xccov view --report --files-for-target Mixpanel.framework *.xcresult
xcrun xccov view --report --only-targets *.xcresult