提交 31f8b069 创建 作者: 宋海霞's avatar 宋海霞

更新 .gitlab-ci.yml

上级 07e045fc
......@@ -30,7 +30,6 @@ build:
- ./gradlew assembleDebug --offline
- 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 &
- sleep 20s
- ./android-wait-for-emulator.sh
- adb shell am broadcast -a android.intent.action.CLOSE_SYSTEM_DIALOGS
- sleep 3; adb shell input keyevent 22
......@@ -43,7 +42,7 @@ build:
# - sleep 30s
# - ./gradlew cAT --offline
- ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleInstrumentedTest#useAppContext --offline
- ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=ExampleKotlinTest#useEspressoTest --offline
- ./gradlew app:connectedAndroidTest -P android.testInstrumentationRunnerArguments.class=com.example.mysecondapp.ExampleKotlinTest#useEspressoTest --offline
# artifacts:
# paths:
......
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论