Browse Source

Add simulator/emulator workflow tasks

Jamon Holmgren 5 years ago
parent
commit
fe4a4e4e78
2 changed files with 5 additions and 1 deletions
  1. 4
    0
      .github/workflows/detox.yml
  2. 1
    1
      examples/WebTest/package.json

+ 4
- 0
.github/workflows/detox.yml View File

6
     name: 'Running tests'
6
     name: 'Running tests'
7
     runs-on: 'macOS-latest'
7
     runs-on: 'macOS-latest'
8
     steps:
8
     steps:
9
+      - name: List Android Emulators
10
+        run: emulator -list-avds
11
+      - name: List iOS Simulators
12
+        run: xcrun simctl list
9
       - uses: actions/checkout@master
13
       - uses: actions/checkout@master
10
       - uses: actions/setup-node@master
14
       - uses: actions/setup-node@master
11
         with:
15
         with:

+ 1
- 1
examples/WebTest/package.json View File

31
         "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/WebTest.app",
31
         "binaryPath": "ios/build/Build/Products/Debug-iphonesimulator/WebTest.app",
32
         "build": "xcodebuild -workspace ios/WebTest.xcworkspace -scheme WebTest -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
32
         "build": "xcodebuild -workspace ios/WebTest.xcworkspace -scheme WebTest -configuration Debug -sdk iphonesimulator -derivedDataPath ios/build",
33
         "type": "ios.simulator",
33
         "type": "ios.simulator",
34
-        "name": "iPhone X, iOS 12.4"
34
+        "name": "iPhone X"
35
       },
35
       },
36
       "android.emu.debug": {
36
       "android.emu.debug": {
37
         "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",
37
         "binaryPath": "android/app/build/outputs/apk/debug/app-debug.apk",