Skip to content

Commit 5767791

Browse files
author
Chris Elion
authored
Run package tests with warn-as-error (#5290) (#5293)
1 parent 417c51d commit 5767791

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.yamato/com.unity.ml-agents-coverage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ test_coverage_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
3333
{% if package.name == "com.unity.ml-agents.extensions" %}
3434
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
3535
{% endif %}
36-
pull_request.changes.any match ".yamato/com.unity.ml-agents-test.yml")
36+
pull_request.changes.any match ".yamato/com.unity.ml-agents-coverage.yml")
3737
{% endif %}
3838
{% endfor %}
3939
{% endfor %}

.yamato/com.unity.ml-agents-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test_{{ package.name }}_{{ platform.name }}_{{ editor.version }}:
8383
flavor: {{ platform.flavor}}
8484
commands:
8585
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm
86-
- upm-ci project test -u {{ editor.version }} --project-path {{ editor.testProject }} --package-filter {{ package.name }} {{ noDefaultPackagesOptions }} --extra-utr-arg "reruncount=2"
86+
- upm-ci package test -u {{ editor.version }} --package-path {{ package.name }} {{ noDefaultPackagesOptions }} --warnings-as-errors --extra-utr-arg "reruncount=2"
8787
artifacts:
8888
logs:
8989
paths:

0 commit comments

Comments
 (0)