|
|
|
|
|
|
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: |
|
|
|