Skip to content

Commit b6678ec

Browse files
committed
linter
1 parent b92c1bc commit b6678ec

File tree

4 files changed

+20
-7
lines changed

4 files changed

+20
-7
lines changed

.yamato/desktop-standalone-tests.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,20 @@ desktop_standalone_tests_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
3939

4040
# Build Player
4141
- |
42-
{% if platform.name == "win" %} utr.bat {% else %} ./utr {% endif %} --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --player-save-path=build/players --artifacts_path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun
43-
42+
{% if platform.name == "win" %}
43+
utr.bat --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --player-save-path=build/players --artifacts_path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun
44+
{% else %}
45+
./utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --player-save-path=build/players --artifacts_path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun
46+
{% endif %}
47+
4448
# Run Standalone tests
4549
- |
46-
{% if platform.name == "win" %} utr.bat {% else %} ./utr {% endif %} --suite=playmode --platform={{ platform.standalone }} --scripting-backend={{ backend }} --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
47-
50+
{% if platform.name == "win" %}
51+
utr.bat --suite=playmode --platform={{ platform.standalone }} --scripting-backend={{ backend }} --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
52+
{% else %}
53+
./utr --suite=playmode --platform={{ platform.standalone }} --scripting-backend={{ backend }} --player-load-path=build/players --artifacts_path=build/test-results --testfilter=Unity.Netcode.RuntimeTests --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
54+
{% endif %}
55+
4856
artifacts:
4957
logs:
5058
paths:

.yamato/package-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# Packs Netcode for GameObjects together with performing initial checks.
55
# For this job no specific platform support and no running Unity instance is required so small agent (as per project.metafile definition) will be used to save resources and speed up the process
66
package_pack_-_ngo:
7-
name: Package Pack (and x-ray) - NGO [{{ platform.name }}]
7+
name: Package Pack (and x-ray) - NGO [{{ small_agent_platform.name }}]
88
agent:
99
type: {{ small_agent_platform.type }}
1010
image: {{ small_agent_platform.image }}

.yamato/performance-tests.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,12 @@ performance_editor_tests_-_NGO_{{ platform.name }}_{{ editor }}_no_data_reportin
3232
- unity-downloader-cli -u {{ editor }} -c Editor --fast --wait
3333

3434
# Build Player
35-
{% if platform.name == "win" %} utr.bat {% else %} ./utr {% endif %} --suite=editor --testproject={{ project.path }} --editor-location=.Editor --timeout=3600 --artifacts-path=artifacts --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces --reruncount=1 --clean-library-on-rerun --dontreportperformancedata
35+
- |
36+
{% if platform.name == "win" %}
37+
utr.bat --suite=editor --testproject={{ project.path }} --editor-location=.Editor --timeout=3600 --artifacts-path=artifacts --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces --reruncount=1 --clean-library-on-rerun --dontreportperformancedata
38+
{% else %}
39+
./utr --suite=editor --testproject={{ project.path }} --editor-location=.Editor --timeout=3600 --artifacts-path=artifacts --extra-editor-arg=-assemblyNames --extra-editor-arg=Unity.NetCode.* --extra-editor-arg=-testCategory --extra-editor-arg=Performance --extra-editor-arg=-enablePackageManagerTraces --reruncount=1 --clean-library-on-rerun --dontreportperformancedata
40+
{% endif %}
3641

3742
artifacts:
3843
logs:

.yamato/project-pack.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# For this job no specific platform support and no running Unity instance is required so small agent (as per project.metafile definition) will be used to save resources and speed up the process
66
{% for project in projects.all -%}
77
project_pack_-_{{ project.name }}:
8-
name: Project Pack - {{ project.name }} [{{ platform.name }}]
8+
name: Project Pack - {{ project.name }} [{{ small_agent_platform.name }}]
99
agent:
1010
type: {{ small_agent_platform.type }}
1111
image: {{ small_agent_platform.image }}

0 commit comments

Comments
 (0)