forked from Fracverse/zaps
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (29 loc) · 730 Bytes
/
Copy pathe2e.yml
File metadata and controls
37 lines (29 loc) · 730 Bytes
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
name: E2E Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: macos-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install AppleSimulatorUtils
run: |
brew tap wix/brew
brew install applesimutils
- name: Install dependencies
working-directory: ./mobileapp
run: npm install
- name: Detox Build
working-directory: ./mobileapp
run: npx detox build -c ios.sim.debug
- name: Detox Test
working-directory: ./mobileapp
run: npx detox test -c ios.sim.debug --cleanup