浏览代码

re-enable backwards compat tests

/docs-update
Chris Elion 5 年前
当前提交
34a26ac4
共有 2 个文件被更改,包括 4 次插入5 次删除
  1. 4
      .yamato/training-int-tests.yml
  2. 5
      ml-agents/tests/yamato/yamato_utils.py

4
.yamato/training-int-tests.yml


# Backwards-compatibility tests.
# If we make a breaking change to the communication protocol, these will need
# to be disabled until the next release.
# - python -u -m ml-agents.tests.yamato.training_int_tests --python=0.15.0
# - python -u -m ml-agents.tests.yamato.training_int_tests --csharp=0.15.0
- python -u -m ml-agents.tests.yamato.training_int_tests --python=0.16.0
- python -u -m ml-agents.tests.yamato.training_int_tests --csharp=1.0.0
dependencies:
- .yamato/standalone-build-test.yml#test_mac_standalone_{{ editor.version }}
triggers:

5
ml-agents/tests/yamato/yamato_utils.py


if csharp_version is None:
return
csharp_tag = f"com.unity.ml-agents_{csharp_version}"
subprocess.check_call(
f"git checkout {csharp_version} -- {csharp_dir}", shell=True
)
subprocess.check_call(f"git checkout {csharp_tag} -- {csharp_dir}", shell=True)
def undo_git_checkout():

正在加载...
取消
保存