Created
April 19, 2025 16:48
-
-
Save franko4don/b7451c91a8f8be6ed93097b9d69ca24f to your computer and use it in GitHub Desktop.
This file contains hidden or 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 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