Release 1.6.0 #85
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: CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened] | |
push: | |
branches: [master] | |
jobs: | |
test: | |
runs-on: macos-latest | |
steps: | |
- name: Clone Repo | |
uses: actions/checkout@v1 | |
- name: Gem Cache | |
uses: actions/cache@v1 | |
with: | |
path: vendor/bundle | |
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-gem- | |
- name: Cocoapod Cache | |
uses: actions/cache@v1 | |
with: | |
path: Pods | |
key: ${{ runner.os }}-pods-${{ hashFiles('**/Podfile.lock') }} | |
restore-keys: | | |
${{ runner.os }}-pods- | |
- name: Bundle Install | |
run: bundle --path vendor/bundle | |
- name: Pod Install | |
run: | | |
bundle exec pod install | |
- name: Run Unit Tests | |
run: | | |
bundle exec fastlane test scheme:"UnitTests" | |
- name: Run Integration Tests | |
run: | | |
bundle exec fastlane test scheme:"IntegrationTests" |