test: add Dockerfile for running QSS with e2e test; add e2e test for … #865
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: | |
push: | |
paths: | |
- packages/mobile/** | |
- packages/backend/** | |
- packages/state-manager/** | |
jobs: | |
detox-ios: | |
timeout-minutes: 10 | |
runs-on: [self-hosted, macOS, ARM64, iOS] | |
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 |