-
Notifications
You must be signed in to change notification settings - Fork 88
52 lines (42 loc) · 1.23 KB
/
e2e-ios-self.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: Detox E2E iOS (self-hosted)
on:
# push:
# paths:
# - packages/mobile/**
# - packages/backend/**
# - packages/state-manager/**
# - .github/workflows/e2e-ios-self.yml
jobs:
detox-ios-self-hosted:
timeout-minutes: 25
runs-on: [self-hosted, macOS, ARM64, iOS]
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
lfs: true
- name: Install dependencies
run: |
npm i
npm run lerna bootstrap --scope @quiet/eslint-config,@quiet/logger,@quiet/common,@quiet/types,@quiet/state-manager,@quiet/backend,@quiet/identity,@quiet/mobile,backend-bundle
- name: Install pods
run: |
cd packages/mobile/ios
pod install
- name: Install pm2
run: npm install pm2@latest -g
- name: Start metro
run: |
cd packages/mobile
pm2 --name METRO start npm -- start
- name: Build Detox
run: |
cd packages/mobile
detox build -c ios.sim.debug.ci
- name: Run basic tests
run: |
cd packages/mobile
detox test starter -c ios.sim.debug.ci
- name: Stop metro
if: always()
run: pm2 stop METRO