Ei kuvausta

detox-ios.yml 1019B

123456789101112131415161718192021222324252627282930313233
  1. name: 'Detox CI Tests - iOS'
  2. on: [push]
  3. jobs:
  4. tests:
  5. name: 'Running iOS Detox tests'
  6. runs-on: 'macOS-latest'
  7. steps:
  8. - uses: actions/checkout@master
  9. - uses: actions/setup-node@master
  10. with:
  11. node-version: 12.6
  12. - name: Setup - Install Homebrew
  13. run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  14. - name: Setup - Install Yarn
  15. run: brew install yarn --ignore-dependencies
  16. - name: Setup - Install NPM Dependencies
  17. run: yarn
  18. - name: Setup - Install CocoaPods CLI
  19. run: sudo gem install cocoapods
  20. - name: Setup - Install Detox and deps
  21. run: |
  22. brew tap wix/brew
  23. brew install applesimutils
  24. yarn global add react-native-cli
  25. yarn global add detox-cli
  26. - name: List iOS Simulators
  27. run: xcrun simctl list
  28. - name: Prepare Example App
  29. run: yarn ci:setup
  30. - name: Run tests
  31. run: yarn ci:ios