No Description

detox.yml 1008B

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