We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46df94c commit 087c385Copy full SHA for 087c385
.github/scripts/test-ios.sh
@@ -0,0 +1,14 @@
1
+#!/bin/bash
2
+
3
+set -eo pipefail
4
5
+#Start metro server
6
+yarn start &
7
+P1=$!
8
+#perform tests
9
+yarn e2e:ios-test &
10
+P2=$!
11
+#wait for tests to finish
12
+wait $P2
13
+#kill metro server
14
+kill $P1
.github/workflows/e2e-ios.yml
@@ -51,6 +51,11 @@ jobs:
51
gem update cocoapods xcodeproj
52
yarn ios:pods
53
54
- - run: brew tap wix/brew
55
- - run: brew install applesimutils
56
- - run: yarn e2e:ios-build && yarn e2e:ios-test
+ - name: Install brew dependencies
+ run: brew tap wix/brew && brew install applesimutils
57
+ - name: Build iOS app
58
+ run: yarn e2e:ios-build
59
60
+ - name: Test iOS app
61
+ run: sh ../.github/scripts/test-ios.sh
0 commit comments