This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-0-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 06ac57dc8ef746e7eda3df3168ab8d6f81fc7e4f Author: Amogh Desai <[email protected]> AuthorDate: Tue Apr 22 21:11:16 2025 +0530 Improve docs-build selective checks to include RELEASE_NOTES.rst (#49558) (cherry picked from commit 1bcbe8fbaafaa4a6b72e3338133a4ed1fb8737e0) --- .../src/airflow_breeze/utils/selective_checks.py | 1 + dev/breeze/tests/test_selective_checks.py | 23 ++++++++++++++++++++++ 2 files changed, 24 insertions(+) diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py b/dev/breeze/src/airflow_breeze/utils/selective_checks.py index 47f3907d225..c67e8282d11 100644 --- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py +++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py @@ -207,6 +207,7 @@ CI_FILE_GROUP_MATCHES = HashableDict( r"^chart/RELEASE_NOTES\.txt", r"^chart/values\.schema\.json", r"^chart/values\.json", + r"^RELEASE_NOTES\.rst", ], FileGroupForCi.UI_FILES: [ r"^airflow-core/src/airflow/ui/", diff --git a/dev/breeze/tests/test_selective_checks.py b/dev/breeze/tests/test_selective_checks.py index c98f6de4624..2c1aa4b088e 100644 --- a/dev/breeze/tests/test_selective_checks.py +++ b/dev/breeze/tests/test_selective_checks.py @@ -1157,6 +1157,29 @@ def assert_outputs_are_printed(expected_outputs: dict[str, str], stderr: str): id="Run only ui tests for PR with new UI only changes.", ) ), + pytest.param( + ("RELEASE_NOTES.rst",), + { + "selected-providers-list-as-string": None, + "all-python-versions": "['3.9']", + "all-python-versions-list-as-string": "3.9", + "python-versions": "['3.9']", + "python-versions-list-as-string": "3.9", + "ci-image-build": "true", + "needs-helm-tests": "false", + "run-tests": "false", + "run-amazon-tests": "false", + "docs-build": "true", + "skip-pre-commits": ALL_SKIPPED_COMMITS_ON_NO_CI_IMAGE, + "upgrade-to-newer-dependencies": "false", + "core-test-types-list-as-strings-in-json": None, + "providers-test-types-list-as-strings-in-json": None, + "individual-providers-test-types-list-as-strings-in-json": None, + "needs-mypy": "false", + "mypy-checks": "[]", + }, + id="Run docs-build for RELEASE_NOTES.rst", + ), ], ) def test_expected_output_pull_request_main(
