Merge pull request #54 from Abhiek187/feature/release #151
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
# Automate testing & deployment using Fastlane | |
name: Fastlane | |
on: | |
push: | |
branches: ["main"] | |
pull_request: | |
branches: ["main"] | |
jobs: | |
build: | |
runs-on: macos-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
# Escape spaces and parentheses in the device string | |
device: ["'iPhone SE (3rd generation)'", "'iPhone 15 Pro Max'", "'iPad Pro (11-inch) (4th generation)'"] | |
defaults: | |
run: | |
working-directory: "./EZ Recipes" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Fastlane | |
run: bundle install | |
- name: Install xcbeautify & xcodes | |
run: | | |
brew install xcbeautify | |
brew install xcodesorg/made/xcodes | |
- name: Run Tests | |
run: bundle exec fastlane ios test device:${{ matrix.device }} |