Skip to content

Commit d1edaf4

Browse files
windxu88thomas-tu
andauthored
CI: Only run tests on Windows for PR trigger (#572)
* Only run tests on Windows for PR trigger * Add 2.4.0-pre.1 to changelogs * Make PR triggers more accurate --------- Co-authored-by: thomas-tu <[email protected]>
1 parent 0a5946f commit d1edaf4

File tree

2 files changed

+8
-17
lines changed

2 files changed

+8
-17
lines changed

.yamato/package-triggers.yml

+6-17
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ test_trigger_pr_documentation:
66
name: Pull Request Tests Trigger for documentation changes
77
triggers:
88
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)
1010
dependencies:
1111
- .yamato/package-documentation.yml#generate_documentation
1212
- .yamato/package-test.yml#vetting_test_win_trunk
@@ -16,27 +16,16 @@ test_trigger_pr:
1616
name: Pull Request Tests Trigger
1717
triggers:
1818
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)
2020
dependencies:
2121
- .yamato/package-validation.yml#validate_api_doc
2222
- .yamato/package-validation.yml#validate_api_osx
2323
- .yamato/package-validation.yml#validate_api_win
24+
# Only run tests on Win for PR trigger
2425
{% 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 }}
4029
{% endfor %}
4130
- .yamato/package-format.yml#formatting
4231
# Only run package clean console test jobs on Win for PR trigger

com.unity.formats.alembic/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ All notable changes to this package will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [2.4.0-pre.1] - 2023-11-07
8+
79
## [2.3.4] - 2023-10-30
810
### Fixed
911
- Prevent a NullReferenceException when upgrading a project with URP and Alembic to Unity 2023.3.

0 commit comments

Comments
 (0)