-
Notifications
You must be signed in to change notification settings - Fork 0
51 lines (41 loc) · 1.38 KB
/
ios.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
# name: iOS-Detox-e2e-test
# on: [push]
# jobs:
# build:
# runs-on: macos-latest
# timeout-minutes: 25
# env:
# DEVELOPER_DIR: /Applications/Xcode_12.4.app
# steps:
# - name: Checkout
# uses: actions/checkout@v1
# with:
# fetch-depth: 1
# - name: Node
# uses: actions/setup-node@v1
# - name: Cache node modules
# uses: actions/cache@v1
# id: cache
# with:
# path: node_modules
# key: node-modules-${{ hashFiles('**/yarn.lock') }}
# - name: Rebuild detox
# if: steps.cache.outputs.cache-hit == 'true'
# run: yarn detox clean-framework-cache && yarn detox build-framework-cache
# - name: Install Dependencies
# if: steps.cache.outputs.cache-hit != 'true'
# run: yarn install
# - name: Cache Pods
# uses: actions/cache@v1
# id: podcache
# with:
# path: ios/Pods
# key: pods-${{ hashFiles('**/Podfile.lock') }}
# - name: Update Pods
# run: |
# gem update cocoapods xcodeproj
# cd ios && pod install && cd ..
# - run: brew tap wix/brew
# - run: brew install applesimutils
# - run: yarn detox build e2e --configuration ios.sim.release
# - run: yarn detox test e2e --configuration ios.sim.release --cleanup --debug-synchronization 200