提交 29ec5388 创建 作者: 宋海霞's avatar 宋海霞

更新 .gitlab-ci.yml

上级 c1c17da0
流水线 #119197 已取消 于阶段
用时 4 分 52 秒
...@@ -28,9 +28,12 @@ build: ...@@ -28,9 +28,12 @@ build:
- > - >
echo "" echo ""
echo "===========================================\n" echo "==========================================="
echo "exec-score 60\n"
echo "===========================================\n" echo "exec-score 60"
echo "==========================================="
- avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" > /dev/null - avdmanager --verbose create avd --force --name "test" --device "pixel" --package "system-images;android-30;google_apis;x86" > /dev/null
- emulator -memory 4096 -timezone Asia/Shang_Hai -avd "test" -no-boot-anim -no-window -gpu swiftshader_indirect -accel on -noaudio -no-snapshot-save -dns-server 8.8.8.8,8.8.4.4 -netfast -nojni & - emulator -memory 4096 -timezone Asia/Shang_Hai -avd "test" -no-boot-anim -no-window -gpu swiftshader_indirect -accel on -noaudio -no-snapshot-save -dns-server 8.8.8.8,8.8.4.4 -netfast -nojni &
- /android-wait-for-emulator.sh 20 - /android-wait-for-emulator.sh 20
...@@ -44,16 +47,22 @@ build: ...@@ -44,16 +47,22 @@ build:
- > - >
echo "" echo ""
echo "===========================================\n" echo "==========================================="
echo "exec-score 80\n"
echo "===========================================\n" echo "exec-score 80"
echo "==========================================="
- ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleKotlinTest#useEspressoTest --offline - ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleKotlinTest#useEspressoTest --offline
- > - >
echo "" echo ""
echo "===========================================\n" echo "==========================================="
echo "exec-score 100\n"
echo "===========================================\n" echo "exec-score 100"
echo "==========================================="
# artifacts: # artifacts:
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论