Skip to content

Commit

Permalink
fix android ios
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisChoupault committed Jan 17, 2025
1 parent c1117b7 commit a234799
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,5 @@ jobs:
distribution: 'corretto'
java-version: '17'

- name: Go to example/android directory
run: cd example/android

- name: Build and test
run: ./gradlew testDebug
run: ./example/android/gradlew testDebug -p ./example/android/
12 changes: 10 additions & 2 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,18 @@ jobs:
- name: Install dependencies (if applicable)
run: |
brew update
brew install cocoapods
brew install cocoapods@1.15.2
- name: Install pods
run: |
cd example/ios
pod install
cd ../..
- name: Run tests
run: |
xcodebuild test -workspace ./example/ios/Runner.xcworkspace \
-project ./example/ios/Runner.xcodeproj \
-scheme EasyCalendarTests \
-destination 'platform=iOS Simulator,OS=$,name=iPhone 14' | xcpretty && exit ${PIPESTATUS[0]}
-destination 'platform=iOS Simulator,OS=$,name=iPhone 16' \
| xcpretty && exit ${PIPESTATUS[0]}

0 comments on commit a234799

Please sign in to comment.