Skip to content

Commit 0311ff5

Browse files
committed
Refactored artifacts for desktop standalone test
1 parent f472c55 commit 0311ff5

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.yamato/desktop-standalone-tests.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ desktop_standalone_build_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
4141
# Build Player
4242
- |
4343
{% if platform.name == "win" %}
44-
utr.bat --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
44+
utr.bat --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=logs/build --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
4545
{% else %}
46-
./utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=build/logs --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
46+
./utr --suite=playmode --platform={{ platform.standalone }} --editor-location=.Editor --testproject={{ project.path }} --scripting-backend={{ backend }} --testfilter="Unity.Netcode.RuntimeTests.*" --player-save-path=build/players --artifacts-path=logs/build --extra-editor-arg=-batchmode --extra-editor-arg=-nographics --reruncount=1 --clean-library-on-rerun --build-only
4747
{% endif %}
4848

4949
artifacts:
5050
logs:
5151
paths:
52-
- build/logs/**/*
53-
players:
52+
- build/**/*
53+
build:
5454
paths:
55-
- build/players/**/*
55+
- players/**/*
5656

5757
dependencies:
5858
- .yamato/project-pack.yml#project_pack_-_{{ project.name }}
@@ -87,15 +87,15 @@ desktop_standalone_test_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{
8787
# Run Standalone tests
8888
- |
8989
{% if platform.name == "win" %}
90-
utr.bat --suite=playmode --player-load-path=build/players --artifacts-path=build/test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
90+
utr.bat --suite=playmode --player-load-path=build/players --artifacts-path=test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
9191
{% else %}
92-
./utr --suite=playmode --player-load-path=build/players --artifacts-path=build/test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
92+
./utr --suite=playmode --player-load-path=build/players --artifacts-path=test-results --testproject={{ project.path }} --testfilter="Unity.Netcode.RuntimeTests.*" --playergraphicsapi=Null --reruncount=1 --clean-library-on-rerun
9393
{% endif %}
9494

9595
artifacts:
9696
logs:
9797
paths:
98-
- build/test-results/**
98+
- test-results/**
9999
dependencies:
100100
- .yamato/desktop-standalone-tests.yml#desktop_standalone_build_{{ project.name }}_{{ platform.name }}_{{ backend }}_{{ editor }}
101101
{% endfor -%}

0 commit comments

Comments
 (0)