|
|
|
|
|
|
flavor: {{ platform.flavor}} |
|
|
|
commands: |
|
|
|
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|
|
|
- upm-ci project test -u {{ editor.version }} --project-path Project --type package-tests --package-filter {{ package.name }} {{ editor.coverageOptions }} |
|
|
|
- upm-ci project test -u {{ editor.version }} --project-path Project --package-filter {{ package.name }} {{ editor.coverageOptions }} |
|
|
|
|
|
|
|
{% if package.name == "com.unity.ml-agents" %} |
|
|
|
# TODO get coverage tests running for extensions too |
|
|
|
|
|
|
- python -m pip install unity-downloader-cli --extra-index-url https://artifactory.eu-cph-1.unityops.net/api/pypi/common-python/simple |
|
|
|
- unity-downloader-cli -u trunk -c editor --wait --fast |
|
|
|
- npm install upm-ci-utils@stable -g --registry https://artifactory.prd.cds.internal.unity3d.com/artifactory/api/npm/upm-npm |
|
|
|
- upm-ci project test -u {{ editor.version }} --project-path Project --type package-tests --package-filter {{ package.name }} {{ editor.coverageOptions }} |
|
|
|
- upm-ci project test -u {{ editor.version }} --project-path Project --package-filter {{ package.name }} {{ editor.coverageOptions }} |
|
|
|
{% if package.name == "com.unity.ml-agents" %} |
|
|
|
# TODO get coverage tests running for extensions too |
|
|
|
- python ml-agents/tests/yamato/check_coverage_percent.py upm-ci~/test-results/ {{ editor.minCoveragePct }} |
|
|
|