Skip to content

Commit

Permalink
ci: e2e ios
Browse files Browse the repository at this point in the history
  • Loading branch information
saihaj committed Jan 21, 2021
1 parent 2266b70 commit e3dff64
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions .github/workflows/ios.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Runs CI tasks on pull requests and pushes

name: iOS End to End Tests

on:
pull_request:
branches:
- dev
- master
push:

jobs:
lint:
name: Lint
runs-on: macos-latest
timeout-minutes: 15
env:
DEVELOPER_DIR: /Applications/Xcode_12.2.app

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Cache Node.js modules
uses: actions/cache@v1
with:
path: ~/.npm
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-node-
${{ runner.OS }}-
- name: Install npm dependencies
run: npm i

- name: Cache Pods
uses: actions/cache@v1
id: podcache
with:
path: ios/Pods
key: pods-${{ hashFiles('**/Podfile.lock') }}

- name: Install dependencies for Detox
run: |
brew tap wix/brew
brew install applesimutils
- name: Run Test
run: npm run e2e:ios

0 comments on commit e3dff64

Please sign in to comment.