Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Test
on: [push]

jobs:
test:
name: Test
runs-on: macOS-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node
run: |
npm install -g react-native-cli
npm install -g detox-cli
npm install -g yarn
- name: Install Detox
run: |
brew tap wix/brew
brew install applesimutils
- name: Install Yarn Dependencies
run: yarn install
- name: Unit Tests
run: yarn test
- name: Install Pod Dependencies
run: cd ./ios && pod install && cd ..
- name: Detox Build
run: detox build -c ios
- name: Detox Test
run: detox test -c ios --cleanup