您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
33 行
1.5 KiB
33 行
1.5 KiB
{% metadata_file .yamato/test_versions.metafile %}
|
|
---
|
|
{% for editor in test_editors %}
|
|
test_mac_ll_api_{{ editor.version }}:
|
|
name: Test Linux LL-API {{ editor.version }}
|
|
agent:
|
|
type: Unity::VM
|
|
image: package-ci/ubuntu:stable
|
|
flavor: b1.medium
|
|
variables:
|
|
UNITY_VERSION: {{ editor.version }}
|
|
commands:
|
|
- python3 -m pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
|
|
- python3 -u -m ml-agents.tests.yamato.setup_venv
|
|
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py
|
|
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py --env=artifacts/testPlayer-Basic
|
|
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py --env=artifacts/testPlayer-WallJump
|
|
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py --env=artifacts/testPlayer-Bouncer
|
|
dependencies:
|
|
- .yamato/standalone-build-test.yml#test_linux_standalone_{{ editor.version }}
|
|
triggers:
|
|
cancel_old_ci: true
|
|
expression: |
|
|
(pull_request.target eq "master" OR
|
|
pull_request.target match "release.+") AND
|
|
NOT pull_request.draft AND
|
|
(pull_request.changes.any match "com.unity.ml-agents/**" OR
|
|
pull_request.changes.any match "Project/**" OR
|
|
pull_request.changes.any match "ml-agents/**" OR
|
|
pull_request.changes.any match "ml-agents-envs/**" OR
|
|
pull_request.changes.any match ".yamato/python-ll-api-test.yml") AND
|
|
NOT pull_request.changes.all match "**/*.md"
|
|
{% endfor %}
|