-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add e2e iOS workflow * Dummy mobile change * Navigate to project's directory * Intentionally break the test * Use checkout and setup project * Use project directory * Don't reuse setup environment step * Correct step * Print location * Skip path * Install dependencies * Add more steps * Point to mobile dir * Dummy change * Git lfs * Fix test * Add Detox CI config * Decrease timeout * Use more labels for runner
- Loading branch information
Showing
2 changed files
with
55 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
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 |
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