Skip to content

Commit 9869eed

Browse files
committed
Corrected upm-ci installs
1 parent 9d1fcd8 commit 9869eed

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

.yamato/project-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ project_pack_-_{{ project.name }}_{{ platform.name }}:
3838
image: {{ platform.image }}
3939
flavor: {{ platform.flavor }}
4040
commands:
41-
- npm install -g upm-ci-utils@stable --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
41+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm # upm-ci is not preinstalled on the image so we need to download it
4242
- upm-ci project pack --project-path {{ project.path }}
4343
artifacts:
4444
packages:

.yamato/project-standards.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ standards_{{ platform.name }}_{{ project.name }}_{{ editor }}:
5252
- .Editor/Unity -batchmode -nographics -logFile - -executeMethod Packages.Rider.Editor.RiderScriptEditor.SyncSolution -projectPath {{ project.path }} -quit
5353

5454
# Standards check
55-
- dotnet run --project=dotnet-tools/netcode.standards --project={{ project.path }} --check
55+
- dotnet run --project=dotnet-tools/netcode.standards -- --project={{ project.path }} --check
5656
{% endfor -%}
5757
{% endfor -%}
5858
{% endfor -%}

.yamato/project-tests.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,9 @@ test_{{ project.name }}_{{ platform.name }}_{{ editor }}:
4040
image: {{ platform.image }}
4141
flavor: {{ platform.flavor }}
4242
commands:
43-
- unity-downloader-cli -u {{ editor }} -c Editor
44-
- upm-ci project test -u {{ editor }} --project-path {{ project.path }} --type project-tests --extra-utr-arg="--reruncount=1 --clean-library-on-rerun"
43+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm # upm-ci is not preinstalled on the image so we need to download it
44+
- unity-downloader-cli -u {{ editor }} -c Editor # Installing basic editor for tests execution
45+
- upm-ci project test -u {{ editor }} --project-path {{ project.path }} --type project-tests --extra-utr-arg="--reruncount=1 --clean-library-on-rerun" # project tests execution via upm-ci
4546
artifacts:
4647
logs:
4748
paths:

.yamato/project-updated-dependencies-test.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ updated-dependencies_{{ project.name }}_NGO_{{ platform.name }}_{{ editor }}:
3939
image: {{ platform.image }}
4040
flavor: {{ platform.flavor }}
4141
commands:
42+
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm # upm-ci is not preinstalled on the image so we need to download it
4243
# Execute dependency update tests with specific package filter (we only care about NGO package)
4344
- upm-ci project test -u {{ editor }} --project-path {{ project.path }} --type updated-dependencies-tests --package-filter com.unity.netcode.gameobjects
4445
artifacts:

0 commit comments

Comments
 (0)