From 5e468a307766bb3ba7c1c32e7015d2e020a8ca0e Mon Sep 17 00:00:00 2001 From: DenBond7 Date: Wed, 8 Mar 2023 18:47:59 +0200 Subject: [PATCH] Update Semaphore settings to run enterprise tests. Step 3.| #2162 --- .semaphore/semaphore.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.semaphore/semaphore.yml b/.semaphore/semaphore.yml index c53ca5334e..50ac14fc03 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(enterprise)' execution_time_limit: minutes: 45