Skip to content

Instantly share code, notes, and snippets.

@franko4don
Created April 19, 2025 16:48
Show Gist options
  • Select an option

  • Save franko4don/b7451c91a8f8be6ed93097b9d69ca24f to your computer and use it in GitHub Desktop.

Select an option

Save franko4don/b7451c91a8f8be6ed93097b9d69ca24f to your computer and use it in GitHub Desktop.
name: E2E tests with detox
on:
pull_request:
types: [opened, edited]
jobs:
test:
runs-on: macos-latest
timeout-minutes: 40
env:
DEVELOPER_DIR: /Applications/Xcode.app
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install dependencies
run: yarn
- run: brew tap wix/brew
- run: brew install applesimutils
- name: Install CocoaPods
run: |
sudo gem install cocoapods
cd ios
bundle install
bundle exec pod install
cd ..
yarn bundle:ios
- name: Build iOS app
run: yarn ios-e2e-build-release
- name: Run iOS e2e tests
run: yarn ios-e2e-test-release
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment