Skip to content

Commit

Permalink
ci: update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
YoloMao committed May 6, 2024
1 parent 5ce7635 commit 55334dc
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci_without_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: CI

on: [push, pull_request, workflow_dispatch]

jobs:
build:
runs-on: macos-12

steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Cache cocoapods
uses: actions/cache@v4
with:
path: Pods
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }}
restore-keys: |
${{ runner.os }}-pods-
- name: Pod Install
run: cd Example && pod install && cd ..

- name: Run tests
run: |
xcodebuild test -workspace Example/GrowingAnalytics.xcworkspace \
-scheme GrowingAnalyticsTests \
-testPlan GrowingAnalyticsTests \
-destination 'platform=iOS Simulator,name=iPhone 14'

0 comments on commit 55334dc

Please sign in to comment.