Skip to content

Commit 5a240a9

Browse files
committed
Re-add update to project-tests
1 parent 2aa215e commit 5a240a9

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.yamato/project-tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# DESCRIPTION--------------------------------------------------------------------------
55
# This job executes project-specific tests in Unity Editor context
66
# Those tests cover both PlayMode and EditMode tests from project test assemblies
7-
# NGO package tests are NOT being executed within this job (those are handled in separate package test jobs)
7+
# NGO package tests are NOT being executed within this job (those are handled in separate package test jobs) ??
88

99
# CONFIGURATION STRUCTURE--------------------------------------------------------------
1010
# Jobs configurations are generated using nested loops through:
@@ -37,13 +37,12 @@ test_{{ project.name }}_{{ platform.name }}_{{ editor }}:
3737
model: {{ platform.model }} # This is set only in platforms where we want non-default model to use (more information in project.metafile)
3838
{% endif %}
3939
commands:
40-
- 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
4140
- unity-downloader-cli --fast --wait -u {{ editor }} -c Editor {% if platform.name == "mac" %} --arch arm64 {% endif %} # For macOS we use ARM64 models. Installing basic editor for tests execution
42-
- 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
41+
- UnifiedTestRunner --testproject={{ project.path }} --suite=editor --suite=playmode --artifacts-path=test-results --editor-location=.Editor --reruncount=1 --clean-library-on-rerun --timeout=1800
4342
artifacts:
4443
logs:
4544
paths:
46-
- "upm-ci~/test-results/**/*"
45+
- "test-results/**/*"
4746
dependencies:
4847
- .yamato/project-pack.yml#project_pack_-_{{ project.name }}_{{ platform.name }}
4948
{% endfor -%}

0 commit comments

Comments
 (0)