浏览代码

[yamato] Use triggers to execute tests for specific changes. (#3439)

/asymm-envs
GitHub 5 年前
当前提交
341acf83
共有 3 个文件被更改,包括 25 次插入18 次删除
  1. 11
      .yamato/com.unity.ml-agents-test.yml
  2. 15
      .yamato/standalone-build-test.yml
  3. 17
      .yamato/training-int-tests.yml

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


dependencies:
- .yamato/com.unity.ml-agents-pack.yml#pack
triggers:
pull_requests:
- targets:
only:
- "master"
- "/release-.*/"
- "/hotfix-.*/"
changes:
only:
- "com.unity.ml-agents/**"
- ".yamato/com.unity.ml-agents-test.yml"
{% endfor %}
{% endfor %}

15
.yamato/standalone-build-test.yml


- pip install pyyaml
- python -u -m ml-agents.tests.yamato.standalone_build_tests
triggers:
pull_requests:
- targets:
only:
- "master"
- "/release-.*/"
- "/hotfix-.*/"
changes:
only:
- "com.unity.ml-agents/**"
- "Project/**"
- ".yamato/standalone-build-test.yml"
except:
- "*.md"
- "com.unity.ml-agents/*.md"
- "com.unity.ml-agents/**/*.md"
{% endfor %}

17
.yamato/training-int-tests.yml


- pip install pyyaml
- python -u -m ml-agents.tests.yamato.training_int_tests
triggers:
pull_requests:
- targets:
only:
- "master"
- "/release-.*/"
- "/hotfix-.*/"
changes:
only:
- "com.unity.ml-agents/**"
- "Project/**"
- "ml-agents/**"
- "ml-agents-envs/**"
- ".yamato/training-int-tests.yml"
except:
- "*.md"
- "com.unity.ml-agents/*.md"
- "com.unity.ml-agents/**/*.md"
artifacts:
unit:
paths:
正在加载...
取消
保存