Skip to content

Commit

Permalink
Merge 18c6e8c into 7bf824d
Browse files Browse the repository at this point in the history
  • Loading branch information
paultopher committed Aug 20, 2020
2 parents 7bf824d + 18c6e8c commit b958d02
Showing 1 changed file with 61 additions and 0 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/ci.yml
@@ -0,0 +1,61 @@
name: CI
on:
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 Tests
run: |
bundle exec fastlane test
coverage:
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: Generate Coverage
run: |
bundle exec fastlane coverage

0 comments on commit b958d02

Please sign in to comment.