Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions dev/breeze/src/airflow_breeze/utils/selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -913,6 +913,11 @@ def _get_core_test_types_to_run(self) -> list[str]:
get_console().print(
"[warning]There are no core/other files. Only tests relevant to the changed files are run.[/]"
)

# run core tests if any changes in serialization files
if SelectiveCoreTestType.SERIALIZATION.value in candidate_test_types:
candidate_test_types.add(SelectiveCoreTestType.CORE.value)

# sort according to predefined order
sorted_candidate_test_types = sorted(candidate_test_types)
get_console().print("[warning]Selected core test type candidates to run:[/]")
Expand Down
2 changes: 1 addition & 1 deletion dev/breeze/tests/test_selective_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str):
"skip-pre-commits": ALL_SKIPPED_COMMITS_IF_NO_PROVIDERS_UI_AND_HELM_TESTS,
"upgrade-to-newer-dependencies": "false",
"core-test-types-list-as-strings-in-json": json.dumps(
[{"description": "Always...Serialization", "test_types": "Always Serialization"}]
[{"description": "Always...Serialization", "test_types": "Always Core Serialization"}]
),
"providers-test-types-list-as-strings-in-json": None,
"individual-providers-test-types-list-as-strings-in-json": None,
Expand Down
Loading