From f921e8b06085dc964af632c42a1550c8119b4a6a Mon Sep 17 00:00:00 2001 From: DenBond7 Date: Thu, 9 Mar 2023 11:48:26 +0200 Subject: [PATCH] Update Semaphore settings to run enterprise tests. Step 5.| #2162 --- .semaphore/semaphore.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index 0671c71364..0e5554abfd 100644 --- a/.semaphore/semaphore.yml +++ b/.semaphore/semaphore.yml @@ -115,6 +115,22 @@ blocks: # run JUnit tests - ./script/ci-junit-tests.sh + - name: 'Instrumentation tests(No email server)' + execution_time_limit: + minutes: 45 + matrix: + - env_var: EMULATOR + values: [ "0", "1", "2", "3" ] + commands: + # Setup and run an emulator + - ./script/ci-setup-and-run-emulator.sh + # wait until ready + - ./script/ci-wait-for-emulator.sh + # Run logging + - adb logcat --buffer=crash > ~/logcat_log.txt & + # Run instrumentation tests + - ./script/ci-instrumentation-tests-without-mailserver.sh 4 $EMULATOR + - name: 'Instrumentation tests(with email server)' execution_time_limit: minutes: 45