Skip to content

Commit 9dd6784

Browse files
committed
updating job
1 parent 1b9f865 commit 9dd6784

File tree

1 file changed

+14
-7
lines changed

1 file changed

+14
-7
lines changed

.yamato/mobile-build-and-run.yml

Lines changed: 14 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -116,13 +116,20 @@ mobile_test_android_{{ project.name }}_{{ editor }}:
116116
- .yamato/mobile-build-and-run.yml#Build_Player_With_Tests_Android_{{ project.name }}_{{ editor }}
117117
commands:
118118
# Download standalone UnityTestRunner
119-
- curl -s https://artifactory.prd.it.unity3d.com/artifactory/unity-tools/utr-standalone/utr.bat --output utr.bat
120-
- |
121-
set ANDROID_DEVICE_CONNECTION=%BOKKEN_DEVICE_IP%
122-
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe connect %BOKKEN_DEVICE_IP%
123-
start %ANDROID_SDK_ROOT%\platform-tools\adb.exe devices
124-
set UTR_VERSION=0.12.0
125-
./utr --artifacts_path=build/test-results --testproject={{ project.path }} --editor-location=.Editor --reruncount=2 --suite=playmode --platform=android --player-load-path=build/players --testfilter=Unity.BossRoom.Tests.Runtime
119+
- unity-downloader-cli --fast --wait -u {{ editor }} -c editor -c Android
120+
- >
121+
ANDROID_DEVICE_CONNECTION=$BOKKEN_DEVICE_IP
122+
ANDROID_SDK_ROOT=$PWD/.Editor/Data/PlaybackEngines/AndroidPlayer/SDK
123+
UnifiedTestRunner
124+
--artifacts-path=build/test-results
125+
--editor-location=.Editor
126+
--suite=playmode
127+
--testproject={{ project.path }}
128+
--platform=Android
129+
--player-load-path=build/players
130+
--testfilter=Unity.BossRoom.Tests.Runtime
131+
--reruncount=2
132+
--player-connection-ip=$BOKKEN_HOST_IP
126133
# Set uploadable artifact paths
127134
artifacts:
128135
logs:

0 commit comments

Comments
 (0)