Skip to content
Snippets Groups Projects
Commit 1f05789e authored by Burak Hançerli's avatar Burak Hançerli :headphones:
Browse files

Start testing emulator if it's not running

parent 633b6c41
No related branches found
No related tags found
1 merge request!75Start testing emulator if it's not running
Pipeline #79081 passed
......@@ -27,6 +27,14 @@ test-x86_64:
export PATH=$PATH:${ANDROID_SDK_ROOT}/cmdline-tools/latest/bin/
export PATH=$PATH:${ANDROID_SDK_ROOT}/emulator
export PATH=$PATH:${ANDROID_SDK_ROOT}/platform-tools
- |
if [[ $(adb devices | grep emulator) ]]; then
echo "Emulator is running";
else
echo "Starting emulator";
/opt/android/emulator/emulator -avd test -no-boot-anim -no-window -no-audio -no-snapshot -accel on & 2>&1 > /dev/null
sleep 30
fi
- cd ${QDS_CI_ARTIFACTS_PATH}/x86_64/test || exit 1
- mkdir -p ${QDS_CI_JOB_TEST_RESULTS_PATH}
- adb install -r -g android-build-release.apk
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment