浏览代码

try training tests on windows (breaks other tests)

/MLA-462-yamato-win
Chris Elion 4 年前
当前提交
674540de
共有 4 个文件被更改,包括 46 次插入23 次删除
  1. 10
      .yamato/standalone-build-test.yml
  2. 43
      .yamato/test_versions.metafile
  3. 14
      .yamato/training-int-tests.yml
  4. 2
      Project/ProjectSettings/ProjectVersion.txt

10
.yamato/standalone-build-test.yml


{% metadata_file .yamato/test_versions.metafile %}
---
{% for editor in test_editors %}
test_mac_standalone_{{ editor.version }}:
name: Test Mac Standalone {{ editor.version }}
{% for config in test_configs %}
test_standalone_{{ config.name }}:
name: Test Mac Standalone {{ config.version }}
UNITY_VERSION: {{ editor.version }}
UNITY_VERSION: {{ config.version }}
- /Users/bokken/Library/Python/3.7/bin/unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
- /Users/bokken/Library/Python/3.7/bin/unity-downloader-cli -u {{ config.version }} -c editor --wait --fast
- 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

43
.yamato/test_versions.metafile


# List of editor versions for standalone-build-test and its dependencies.
# List of configurations for standalone-build-test and its dependencies.
test_editors:
- version: 2018.4
test_configs:
- name: Mac_2018.4
version: 2018.4
type: Unity::VM::osx
image: package-ci/mac:stable
flavor: b1.small
- version: 2019.4
csharp_backcompat_version: 1.0.0
- version: 2020.1
# - name: Mac_2019.4
# version: 2019.4
# type: Unity::VM::osx
# image: package-ci/mac:stable
# flavor: b1.small
# csharp_backcompat_version: 1.0.0
# - name: Mac_2020.1
# version: 2020.1
# type: Unity::VM::osx
# image: package-ci/mac:stable
# flavor: b1.small
# csharp_backcompat_version: 1.0.0
# - name: Mac_2020.2
# version: 2020.2
# type: Unity::VM::osx
# image: package-ci/mac:stable
# flavor: b1.small
# # 2020.2 moved the AssetImporters namespace
# # but we didn't handle this until 1.2.0
# csharp_backcompat_version: 1.2.0
- name: Win_2019.4
version: 2019.4
type: Unity::VM
image: package-ci/win10:stable
flavor: b1.large
- version: 2020.2
# 2020.2 moved the AssetImporters namespace
# but we didn't handle this until 1.2.0
csharp_backcompat_version: 1.2.0

14
.yamato/training-int-tests.yml


{% metadata_file .yamato/test_versions.metafile %}
---
{% for editor in test_editors %}
test_mac_training_int_{{ editor.version }}:
name: Test Mac Fast Training {{ editor.version }}
{% for config in test_configs %}
test_training_int_{{ config.name }}:
name: Test {{ config.name }} Fast Training
UNITY_VERSION: {{ editor.version }}
UNITY_VERSION: {{ config.version }}
- /Users/bokken/Library/Python/3.7/bin/unity-downloader-cli -u {{ editor.version }} -c editor --wait --fast
- /Users/bokken/Library/Python/3.7/bin/unity-downloader-cli -u {{ config.version }} -c editor --wait --fast
- python -u -m ml-agents.tests.yamato.training_int_tests --csharp={{ editor.csharp_backcompat_version }}
- python -u -m ml-agents.tests.yamato.training_int_tests --csharp={{ config.csharp_backcompat_version }}
- .yamato/standalone-build-test.yml#test_mac_standalone_{{ editor.version }}
- .yamato/standalone-build-test.yml#test_standalone_{{ config.name }}
triggers:
cancel_old_ci: true
expression: |

2
Project/ProjectSettings/ProjectVersion.txt


m_EditorVersion: 2018.4.24f1
m_EditorVersion: 2018.4.22f1
正在加载...
取消
保存