Skip to content

Add github action worflow and Danger bot #23

Add github action worflow and Danger bot

Add github action worflow and Danger bot #23

Workflow file for this run

name: Pull request workflow
on:
push:
branches: [ "develop", "main"]
pull_request:
branches: [ "develop", "main" ]
jobs:
build:
name: Build and Test default scheme using any available iPhone simulator
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Cocoa
uses: maxim-lobanov/setup-cocoapods@v1
with:
podfile-path: RecipeApp/Podfile.lock
- name: Setup Ruby, JRuby and TruffleRuby
uses: ruby/[email protected]
with:
ruby-version: '3.3'
bundler-cache: true
- name: Install pods
run: cd RecipeApp && pod install
- name: Install Bundles
run: cd RecipeApp && bundle install
- name: Run tests
run: cd RecipeApp && bundle exec fastlane tests
- name: Run code coverage
run: cd RecipeApp && bundle exec fastlane tests_coverage