Detox configuration for Android on Apple Silicon #31
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E iOS | |
on: | |
pull_request: | |
paths: | |
- packages/mobile/** | |
jobs: | |
detox: | |
timeout-minutes: 10 | |
runs-on: [self-hosted, macOS, ARM64] | |
steps: | |
- uses: actions/checkout@v4 | |
- 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: Pull binaries | |
run: | | |
git lfs install | |
git lfs pull | |
- name: Install pods | |
run: | | |
cd packages/mobile/ios | |
pod install | |
- 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 |