Skip to content

Add github action worflow and Danger bot #24

Add github action worflow and Danger bot

Add github action worflow and Danger bot #24

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-12
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