|
|
|
|
|
|
variables: |
|
|
|
UNITY_VERSION: {{ editor.version }} |
|
|
|
commands: |
|
|
|
- pip install pyyaml |
|
|
|
- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple |
|
|
|
- ./venv/bin/python ml-agents/tests/yamato/scripts/run_llapi.py |
|
|
|
- ./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 |
|
|
|
|
|
|
cancel_old_ci: true |
|
|
|
changes: |
|
|
|
only: |
|
|
|
- "com.unity.ml-agents/**" |
|
|
|
- "Project/**" |
|
|
|
- "ml-agents/**" |
|
|
|
- "ml-agents-envs/**" |
|
|
|
- ".yamato/python-ll-api-test.yml" |
|
|
|
except: |
|
|
|
- "*.md" |
|
|
|
- "com.unity.ml-agents/*.md" |
|
|
|
- "com.unity.ml-agents/**/*.md" |
|
|
|
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 %} |