@@ -6,7 +6,7 @@ test_trigger_pr_documentation:
6
6
name : Pull Request Tests Trigger for documentation changes
7
7
triggers :
8
8
cancel_old_ci : true
9
- expression : pull_request.(target match ".*" AND push.changes.all match "**/*.md " AND NOT draft)
9
+ expression : pull_request.(target match ".*" AND push.changes.any match "com.unity.formats.alembic/Documentation~/** " AND NOT draft)
10
10
dependencies :
11
11
- .yamato/package-documentation.yml#generate_documentation
12
12
- .yamato/package-test.yml#vetting_test_win_trunk
@@ -16,27 +16,16 @@ test_trigger_pr:
16
16
name : Pull Request Tests Trigger
17
17
triggers :
18
18
cancel_old_ci : true
19
- expression : pull_request.(target match ".*" AND NOT push.changes.all match "** /*.md" AND NOT draft)
19
+ expression : pull_request.(target match ".*" AND NOT push.changes.all match ["com.unity.formats.alembic/Documentation~/**", "** /*.md"] AND NOT draft)
20
20
dependencies :
21
21
- .yamato/package-validation.yml#validate_api_doc
22
22
- .yamato/package-validation.yml#validate_api_osx
23
23
- .yamato/package-validation.yml#validate_api_win
24
+ # Only run tests on Win for PR trigger
24
25
{% for editor in test_editors %}
25
- {% for platform in test_platforms %}
26
- # When on non-Silicon Mac platforms, run package and AlembicRecorder tests in all Editor versions.
27
- # When on Silicon Mac, only run package and AlembicRecorder tests in 2023.2 and trunk because of known compilation errors.
28
- {% if platform.model != "M1" or editor.version == "2023.2" or editor.version == "trunk" %}
29
- - .yamato/package-test.yml#test_{{ platform.name }}_{{ editor.version }}
30
- - .yamato/project-test.yml#test_project_{{ recorder_test_project.name }}_{{ platform.name }}_{{ editor.version }}
31
- {% endif %}
32
- {% endfor %}
33
- {% for platform in standalone_test_platforms %}
34
- # When on non-Silicon Mac platforms, run AlembicStandaloneBuild tests in all Editor versions.
35
- # When on Silicon Mac, only run standalone tests in trunk because of known compilation errors.
36
- {% if platform.model != "M1" or editor.version == "trunk" %}
37
- - .yamato/project-test.yml#test_project_{{ standalone_test_project.name }}_{{ platform.name }}_{{ editor.version }}
38
- {% endif %}
39
- {% endfor %}
26
+ - .yamato/package-test.yml#test_win_{{ editor.version }}
27
+ - .yamato/project-test.yml#test_project_{{ recorder_test_project.name }}_win_{{ editor.version }}
28
+ - .yamato/project-test.yml#test_project_{{ standalone_test_project.name }}_win_{{ editor.version }}
40
29
{% endfor %}
41
30
- .yamato/package-format.yml#formatting
42
31
# Only run package clean console test jobs on Win for PR trigger
0 commit comments