Skip to content

Adding optional gzip compression for /track #514

Adding optional gzip compression for /track

Adding optional gzip compression for /track #514

Workflow file for this run

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