Commit e4455d19 authored by Yogev Ben David's avatar Yogev Ben David Committed by GitHub

Unify iOS e2e and unit tests in CI (#361)

* Unite ios tests

* fix workflows

* Rename jobs

* Run ios unit tests before e2e
parent 7526f564
version: 2
jobs:
ios_e2e:
ios:
macos:
xcode: "10.2.1"
steps:
......@@ -12,10 +12,13 @@ jobs:
- run:
name: npm install
command: npm install
- run:
name: iOS unit tests
command: 'npm run test-unit-ios'
- run:
name: Detox iOS e2e tests
command: 'npm run test-e2e-ios-release'
android_unit:
android:
macos:
xcode: "10.2.1"
steps:
......@@ -29,21 +32,9 @@ jobs:
- run:
name: Android unit tests
command: 'npm run test-unit-android'
ios_unit:
macos:
xcode: "10.2.1"
steps:
- checkout
- run:
name: npm install
command: npm install
- run:
name: iOS unit tests
command: 'npm run test-unit-ios'
workflows:
version: 2
test_all:
test:
jobs:
- ios_e2e
- android_unit
- ios_unit
\ No newline at end of file
- ios
- android
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment