fix: Wait for channels to be initialized before sending messages #882
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 Android | |
on: | |
push: | |
paths: | |
- packages/mobile/** | |
- packages/backend/** | |
- packages/state-manager/** | |
- .github/workflows/e2e-android.yml | |
jobs: | |
detox-android: | |
timeout-minutes: 10 | |
runs-on: [self-hosted, macOS, ARM64, android] | |
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: Pass local config | |
run : | | |
cat << EOF >> packages/mobile/android/local.properties | |
ndk.path=/Users/quiet/Library/Android/sdk/ndk/25.1.8937393 | |
EOF | |
- name: Build Detox | |
run: | | |
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home | |
cd packages/mobile | |
detox build -c android.emu.debug.ci | |
- name: Run basic tests | |
run: | | |
cd packages/mobile | |
detox test starter -c android.emu.debug.ci |