From e0dce9fa47ee52ee92d714e4aeb43d62abc771e6 Mon Sep 17 00:00:00 2001 From: yogevbd Date: Wed, 31 Jul 2019 10:19:15 +0300 Subject: [PATCH] Parallelise tests --- .circleci/config.yml | 35 +++++++++++++++++++++++++++++------ 1 file changed, 29 insertions(+), 6 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 0ee3cf6..5edf8d0 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,7 +1,7 @@ version: 2 jobs: - build: + ios_e2e: macos: xcode: "10.2.1" steps: @@ -9,18 +9,41 @@ jobs: - run: name: Install Dependencies command: scripts/install.ios.sh + - run: + name: npm install + command: npm install + - run: + name: Detox iOS e2e tests + command: 'npm run test-e2e-ios-release' + android_unit: + macos: + xcode: "10.2.1" + steps: + - checkout - run: name: Install Android command: scripts/install.android.sh - run: name: npm install command: npm install - - run: - name: iOS unit tests - command: 'npm run test-unit-ios' - run: name: Android unit tests command: 'npm run test-unit-android' + ios_unit: + macos: + xcode: "10.2.1" + steps: + - checkout - run: - name: Detox iOS e2e tests - command: 'npm run test-e2e-ios-release' \ No newline at end of file + name: npm install + command: npm install + - run: + name: iOS unit tests + command: 'npm run test-unit-ios' +workflows: + version: 2 + test_all: + jobs: + - ios_e2e + - android_unit + - ios_unit \ No newline at end of file -- 2.26.2