-
Notifications
You must be signed in to change notification settings - Fork 3k
52 lines (41 loc) · 1.49 KB
/
e2e.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
52
name: E2E iOS Tests
on:
pull_request:
types: [opened, synchronize]
branches-ignore: [staging, production]
env:
DEVELOPER_DIR: /Applications/Xcode_12.3.app/Contents/Developer
jobs:
test:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-ruby@v1
with:
ruby-version: '2.7'
- name: Install bundler
run: gem install bundler
- name: Install gems
run: bundle install
- name: Install node packages
uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb
with:
timeout_minutes: 10
max_attempts: 5
command: npm ci
- name: Install detox
run: npm install -g detox-cli
- name: Install cocoapods
uses: nick-invision/retry@7c68161adf97a48beb850a595b8784ec57a98cbb
with:
timeout_minutes: 15
max_attempts: 3
command: cd ios && pod install --repo-update
- name: Install brew depdencies
run: |
brew tap wix/brew
brew install applesimutils
- name: Build tests
run: detox build --configuration ios.sim.release
- name: Run tests
run: detox test --configuration ios.sim.release --cleanup --debug-synchronization 200 --loglevel trace