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 version: 2
jobs: jobs:
ios_e2e: ios:
macos: macos:
xcode: "10.2.1" xcode: "10.2.1"
steps: steps:
...@@ -12,10 +12,13 @@ jobs: ...@@ -12,10 +12,13 @@ jobs:
- run: - run:
name: npm install name: npm install
command: npm install command: npm install
- run:
name: iOS unit tests
command: 'npm run test-unit-ios'
- run: - run:
name: Detox iOS e2e tests name: Detox iOS e2e tests
command: 'npm run test-e2e-ios-release' command: 'npm run test-e2e-ios-release'
android_unit: android:
macos: macos:
xcode: "10.2.1" xcode: "10.2.1"
steps: steps:
...@@ -29,21 +32,9 @@ jobs: ...@@ -29,21 +32,9 @@ jobs:
- run: - run:
name: Android unit tests name: Android unit tests
command: 'npm run test-unit-android' 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: workflows:
version: 2 version: 2
test_all: test:
jobs: jobs:
- ios_e2e - ios
- android_unit - android
- ios_unit \ No newline at end of file
\ 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