Create github actions #4
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Xcode Build and Test on iOS 18 | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build-and-test: | |
runs-on: macOS-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies (if applicable) | |
run: | | |
brew update | |
brew install cocoapods | |
- name: Run tests | |
run: | | |
xcodebuild test -workspace ./example/ios/Runner.xcworkspace \ | |
-scheme EasyCalendarTests \ | |
-destination 'platform=iOS Simulator,OS=18.0,name=iPhone 14' |