[yamato] drop 2020.1, reduce test variants, tighten triggers (#4936)
This commit is contained in:
Родитель
54fb8f680e
Коммит
71b440b701
|
@ -1,6 +1,5 @@
|
|||
test_editors:
|
||||
- version: 2019.4
|
||||
- version: 2020.1
|
||||
- version: 2020.2
|
||||
---
|
||||
{% for editor in test_editors %}
|
||||
|
|
|
@ -9,10 +9,6 @@ test_editors:
|
|||
enableCodeCoverage: !!bool true
|
||||
testProject: DevProject
|
||||
enableNoDefaultPackages: !!bool true
|
||||
- version: 2020.1
|
||||
enableCodeCoverage: !!bool true
|
||||
testProject: DevProject
|
||||
enableNoDefaultPackages: !!bool true
|
||||
- version: 2020.2
|
||||
enableCodeCoverage: !!bool true
|
||||
testProject: DevProject
|
||||
|
|
|
@ -21,6 +21,7 @@ test_compressed_obs_{{ editor.version }}:
|
|||
- .yamato/standalone-build-test.yml#test_linux_standalone_{{ editor.version }}
|
||||
triggers:
|
||||
cancel_old_ci: true
|
||||
{% if editor.extra_test == "sensor" %}
|
||||
expression: |
|
||||
(pull_request.target eq "master" OR
|
||||
pull_request.target match "release.+") AND
|
||||
|
@ -28,8 +29,9 @@ test_compressed_obs_{{ editor.version }}:
|
|||
(pull_request.changes.any match "com.unity.ml-agents/**" OR
|
||||
pull_request.changes.any match "com.unity.ml-agents.extensions/**" OR
|
||||
pull_request.changes.any match "Project/**" OR
|
||||
pull_request.changes.any match "ml-agents/**" OR
|
||||
pull_request.changes.any match "ml-agents/tests/yamato/**" OR
|
||||
pull_request.changes.any match "ml-agents-envs/**" OR
|
||||
pull_request.changes.any match ".yamato/compressed-sensor-test.yml") AND
|
||||
NOT pull_request.changes.all match "**/*.md"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -21,15 +21,17 @@ test_gym_interface_{{ editor.version }}:
|
|||
- .yamato/standalone-build-test.yml#test_linux_standalone_{{ editor.version }}
|
||||
triggers:
|
||||
cancel_old_ci: true
|
||||
{% if editor.extra_test == "gym" %}
|
||||
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/tests/yamato/**" OR
|
||||
pull_request.changes.any match "ml-agents-envs/**" OR
|
||||
pull_request.changes.any match "gym-unity/**" OR
|
||||
pull_request.changes.any match ".yamato/gym-interface-test.yml") AND
|
||||
NOT pull_request.changes.all match "**/*.md"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -23,14 +23,16 @@ test_linux_ll_api_{{ editor.version }}:
|
|||
- .yamato/standalone-build-test.yml#test_linux_standalone_{{ editor.version }}
|
||||
triggers:
|
||||
cancel_old_ci: true
|
||||
{% if editor.extra_test == "llapi" %}
|
||||
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/tests/yamato/**" 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"
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
# List of editor versions for standalone-build-test and its dependencies.
|
||||
# csharp_backcompat_version is used in training-int-tests to determine the
|
||||
# older package version to run the backwards compat tests against.
|
||||
# We always run training-int-tests for all versions of the editor
|
||||
# For each "other" test, we only run it against a single version of the
|
||||
# editor to reduce the number of yamato jobs
|
||||
test_editors:
|
||||
- version: 2018.4
|
||||
csharp_backcompat_version: 1.0.0
|
||||
extra_test: llapi
|
||||
- version: 2019.4
|
||||
csharp_backcompat_version: 1.0.0
|
||||
- version: 2020.1
|
||||
csharp_backcompat_version: 1.0.0
|
||||
extra_test: gym
|
||||
- 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
|
||||
extra_test: sensor
|
||||
|
|
Загрузка…
Ссылка в новой задаче