This repository was archived by the owner on Apr 2, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
66 lines (63 loc) · 2.01 KB
/
development-client-e2e.yml
File metadata and controls
66 lines (63 loc) · 2.01 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
name: Development Client e2e
on:
workflow_dispatch: {}
pull_request:
paths:
- .github/workflows/development-client-e2e.yml
- packages/expo-dev-*/**
push:
branches: [main]
paths:
- .github/workflows/development-client-e2e.yml
- packages/expo-dev-*/**
concurrency:
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
jobs:
detox_e2e:
runs-on: ubuntu-24.04
strategy:
matrix:
api-level: [34]
steps:
- name: 👀 Checkout
uses: actions/checkout@v4
- name: ➕ Add `bin` to GITHUB_PATH
run: echo "$(pwd)/bin" >> $GITHUB_PATH
- name: 🍺 Install required tools
run: |
brew tap wix/brew
brew install applesimutils
brew install watchman
- name: 💎 Setup Ruby and install gems
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
ruby-version: 3.2.2
- name: 💎 Install cocoapods
run: sudo gem install cocoapods
- name: ♻️ Restore caches
uses: ./.github/actions/expo-caches
id: expo-caches
with:
gradle: 'true'
yarn-workspace: 'true'
- name: 🤖 Set up android emulator
uses: ./.github/actions/use-android-emulator
with:
avd-api: ${{ matrix.api-level }}
avd-name: avd-${{ matrix.api-level }}
- name: 🧶 Install `expo-test-runner`
run: |
yarn global add expo-test-runner@$(cat package.json | grep '"expo-test-runner": "[0-9]*\.[0-9]*\.[0-9]*' | head -n 1 | awk '{print $2}' | sed 's/"//g; s/,//g')
working-directory: packages/expo-dev-client
- name: 🧪 Run tests
run: |
yarn e2e
working-directory: packages/expo-dev-client
- name: 💾 Store artifacts of build failures
if: failure()
uses: actions/upload-artifact@v4
with:
name: expo-dev-client-e2e-artifacts
path: packages/expo-dev-client/artifacts