Skip to content

Commit

Permalink
Merge pull request #1 from mixpanel/master
Browse files Browse the repository at this point in the history
Pull in latest master to fix CI
  • Loading branch information
mac-cain13 authored Jan 30, 2025
2 parents 37da555 + 0258d2d commit f6034fa
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 18 deletions.
47 changes: 31 additions & 16 deletions .github/workflows/iOS.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,36 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
destination: ['name="iPhone 14 Pro",OS=latest']
destination: ['name=iPhone 15 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
- uses: actions/checkout@v2

# (Optional) Inspect what simulators are installed
- name: Show simulators
run: xcrun simctl list

- 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
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ jobs:
- name: Commit CHANGELOG Changes
run: |
git add .
git config user.name "zihe.jia"
git config user.email "zihe.jia@mixpanel.com"
git config user.name "jared"
git config user.email "jared@mixpanel.com"
git commit -m "Update CHANGELOG"
- name: Push CHANGELOG changes
uses: ad-m/[email protected]
Expand Down

0 comments on commit f6034fa

Please sign in to comment.