@@ -85,22 +85,14 @@ test_Android_{{ editor.version }}:
85
85
image : mobile/android-execution-r19:stable
86
86
flavor : b1.medium
87
87
commands :
88
- - choco source add -n Unity -s {{ artifactory.production }}nuget/unity-choco-local
89
- - choco install unity-config
90
- - unity-config settings editor-path .Editor
91
- - unity-config project create .MyTestProject
92
- {%- for dependency in mobile_dependencies -%}
93
- - unity-config project add dependency {{dependency.name}}@{{dependency.version}} --project-path .MyTestProject
94
- {%- endfor -%}
95
- - unity-config project add testable com.unity.mobile.notifications
96
88
- curl -s {{ utr.url_win }} --output utr.bat
97
89
- pip install unity-downloader-cli --index-url {{ artifactory.production }}pypi/pypi/simple --upgrade
98
90
- unity-downloader-cli -c Editor -c Android -u {{ editor.version }} --wait --fast
99
- - utr.bat --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --extra-editor-arg="-upmNoDefaultPackages" --player-save-path=build/players --build-only
91
+ - utr.bat --testproject=TestProjects\com.unity.mobile-notifications-sample --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --extra-editor-arg="-upmNoDefaultPackages" --player-save-path=build/players --build-only
100
92
- |
101
93
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
102
94
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
103
- utr.bat --testproject=.MyTestProject --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --player-load-path=build/players
95
+ utr.bat --testproject=TestProjects\com.unity.mobile-notifications-sample --editor-location=.Editor --suite=playmode --platform=android --scripting-backend=mono --artifacts_path=upm-ci~/test-results/android --timeout=900 --player-load-path=build/players
104
96
after :
105
97
- start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
106
98
- powershell %ANDROID_SDK_ROOT%\platform-tools\adb.exe logcat -d > upm-ci~/test-results/android/android_device_log.txt
0 commit comments