forked from Vydia/react-native-background-upload
-
Notifications
You must be signed in to change notification settings - Fork 8
40 lines (32 loc) · 955 Bytes
/
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
name: Test iOS Example App
on: [push, pull_request]
jobs:
react-native-ios:
runs-on: macos-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- name: Checkout project
uses: actions/checkout@v2
- name: Specify node version
uses: actions/setup-node@v1
with:
node-version: 12
- name: Setup Detox
run: |
brew tap wix/brew
brew install applesimutils
- name: Install node_modules
working-directory: example/RNBackgroundExample/
run:
yarn install --frozen-lockfile
- name: Deploy
working-directory: example/RNBackgroundExample/
run:
yarn deploy/release/ios
- name: iOS test
working-directory: example/RNBackgroundExample/
timeout-minutes: 8
run: |
npx detox clean-framework-cache && npx detox build-framework-cache
node e2e/start-server.js &
yarn e2e/test/ios