You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/12/12 23:00:33 UTC

[airflow] branch main updated: Selective checks for API did not match API test specification (#28319)

This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 17131b3340 Selective checks for API did not match API test specification (#28319)
17131b3340 is described below

commit 17131b3340245e68d4721bf9f57771cb3f2d04a1
Author: Jarek Potiuk <ja...@potiuk.com>
AuthorDate: Tue Dec 13 00:00:25 2022 +0100

    Selective checks for API did not match API test specification (#28319)
    
    The selective checks for the API had "^tests/api" as matching regexp,
    where we used "tests/api", "tests/api_connexion" to trigger the tests.
    This means that changes to "tests/api_internal" were not treated as
    "Other" as they were included in "^tests/api".
    
    This PR fixes it.
---
 dev/breeze/src/airflow_breeze/utils/selective_checks.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dev/breeze/src/airflow_breeze/utils/selective_checks.py b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
index 9a46ce7eff..eeaf65150e 100644
--- a/dev/breeze/src/airflow_breeze/utils/selective_checks.py
+++ b/dev/breeze/src/airflow_breeze/utils/selective_checks.py
@@ -104,7 +104,8 @@ CI_FILE_GROUP_MATCHES = HashableDict(
             r"^airflow/.*\.lock",
         ],
         FileGroupForCi.API_TEST_FILES: [
-            r"^airflow/api",
+            r"^airflow/api/",
+            r"^airflow/api_connexion/",
         ],
         FileGroupForCi.API_CODEGEN_FILES: [
             r"^airflow/api_connexion/openapi/v1\.yaml",