From e4455d192618587fffb6d4193f4a1b13a415e3cc Mon Sep 17 00:00:00 2001 From: Yogev Ben David Date: Tue, 13 Aug 2019 15:13:10 +0300 Subject: [PATCH] Unify iOS e2e and unit tests in CI (#361) * Unite ios tests * fix workflows * Rename jobs * Run ios unit tests before e2e --- .circleci/config.yml | 25 ++++++++----------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 5edf8d0..bf8553b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ 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 -- 2.26.2