|
@@ -0,0 +1,23 @@
|
|
1
|
+workflow "Detox CI Tests" {
|
|
2
|
+ on = "push"
|
|
3
|
+}
|
|
4
|
+
|
|
5
|
+jobs:
|
|
6
|
+ tests:
|
|
7
|
+ name: "Running tests"
|
|
8
|
+ runs-on: "macOS-latest"
|
|
9
|
+ steps:
|
|
10
|
+ - name: Setup - Install Homebrew
|
|
11
|
+ run: /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
|
|
12
|
+ - name: Setup - Install Node
|
|
13
|
+ run: brew install node
|
|
14
|
+ - name: Setup - Install React Native CLI
|
|
15
|
+ run: npm install -g react-native-cli
|
|
16
|
+ - name: Setup - Install NPM Dependencies
|
|
17
|
+ run: yarn
|
|
18
|
+ - name: Setup - Install CocoaPods CLI
|
|
19
|
+ run: sudo gem install cocoapods
|
|
20
|
+ - name: Setup - Verify
|
|
21
|
+ run: ./bin/setup
|
|
22
|
+ - name: Run tests
|
|
23
|
+ run: yarn ci:test
|