浏览代码

remove 2018.4 from tests, make sure to user 2020.3

/tag-com.unity.ml-agents_1.0.8
Chris Elion 4 年前
当前提交
a954c907
共有 3 个文件被更改,包括 5 次插入11 次删除
  1. 8
      .yamato/com.unity.ml-agents-test.yml
  2. 6
      .yamato/standalone-build-test.yml
  3. 2
      .yamato/training-int-tests.yml

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


test_editors:
- version: 2018.4
# 2018.4 doesn't support code-coverage
coverageOptions:
minCoveragePct: 0
# We want some scene tests to run in the DevProject, but packages there only support 2019+
testProject: Project
testProject: DevProject
testProject: Project
- version: 2020.1
coverageOptions: --enable-code-coverage --code-coverage-options 'generateHtmlReport;assemblyFilters:+Unity.ML-Agents'
minCoveragePct: 72

6
.yamato/standalone-build-test.yml


test_editors:
- version: 2018.4
- version: 2020.3
---
{% for editor in test_editors %}
test_mac_standalone_{{ editor.version }}:

- pip install pyyaml --index-url https://artifactory.prd.it.unity3d.com/artifactory/api/pypi/pypi/simple
- python -u -m ml-agents.tests.yamato.standalone_build_tests
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Bouncer/Scenes/Bouncer.unity
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/WallJump/Scenes/WallJump.unity
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/Bouncer/Scenes/Bouncer.unity
- python -u -m ml-agents.tests.yamato.standalone_build_tests --scene=Assets/ML-Agents/Examples/WallJump/Scenes/WallJump.unity
triggers:
cancel_old_ci: true
changes:

2
.yamato/training-int-tests.yml


test_editors:
- version: 2018.4
- version: 2020.3
---
{% for editor in test_editors %}
test_mac_training_int_{{ editor.version }}:

正在加载...
取消
保存