backend: update README with testing instructions #4
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: Mobile Android Tests | |
on: | |
push: | |
branches: [main, master] | |
pull_request: | |
branches: [master] | |
jobs: | |
build: | |
name: Android Test | |
runs-on: macOS-latest | |
defaults: | |
run: | |
working-directory: ./mobile | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
run: npm ci | |
- name: Run Detox Build | |
run: npx detox build --configuration android.emu.debug | |
- name: Run Detox Test | |
run: npx detox test --configuration android.emu.debug |