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

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

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