浏览代码

make sure windows uses the downloaded editor.

/r2v-yamato-linux
Christopher Goy 4 年前
当前提交
91dee3ef
共有 1 个文件被更改,包括 6 次插入2 次删除
  1. 8
      .yamato/com.unity.ml-agents-test.yml

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


flavor: {{ platform.flavor}}
commands:
- python3 -m pip install unity-downloader-cli --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple --upgrade
- unity-downloader-cli -u trunk -c editor --wait --fast
- unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
- upm-ci package test -u C:\build\output\Unity-Technologies\ml-agents\.Editor --package-path com.unity.ml-agents {{ editor.coverageOptions }}
{% if platform.name == "win" %}
- upm-ci package test -u "C:\build\output\Unity-Technologies\ml-agents\.Editor" --package-path com.unity.ml-agents {{ editor.coverageOptions }}
{% else %}
- upm-ci package test -u editor.version --package-path com.unity.ml-agents {{ editor.coverageOptions }}
{% endif %}
- python3 ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ editor.minCoveragePct }}
artifacts:
logs:

正在加载...
取消
保存