Skip to content

build(deps-dev): bump detox from 20.18.4 to 20.19.2 in /mobile #16

build(deps-dev): bump detox from 20.18.4 to 20.19.2 in /mobile

build(deps-dev): bump detox from 20.18.4 to 20.19.2 in /mobile #16

name: Mobile iOS Tests
on:
push:
branches: [main, master]
pull_request:
branches: [master]
jobs:
build:
name: iOS Test
runs-on: macos-14
defaults:
run:
working-directory: ./mobile
steps:
- uses: actions/checkout@v3
- name: Set up Homebrew
id: set-up-homebrew
uses: Homebrew/actions/setup-homebrew@master
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up CocoaPods
uses: maxim-lobanov/setup-cocoapods@v1
with:
version: latest
- name: Set up applesimutils
run: |
brew tap wix/brew
brew install applesimutils
- name: Install dependencies
run: npm ci
- name: Install CocoaPods
run: cd ios && pod install
- name: Run Detox build
run: npx detox build --configuration ios.sim.debug
- name: Run Detox Test
run: |
npx expo start &
npx detox test --configuration ios.sim.debug