gopidesupavan commented on code in PR #45131:
URL: https://github.com/apache/airflow/pull/45131#discussion_r1894591103


##########
dev/breeze/tests/test_selective_checks.py:
##########
@@ -369,6 +369,101 @@ def assert_outputs_are_printed(expected_outputs: 
dict[str, str], stderr: str):
                 id="Selected Providers and docs should run",
             )
         ),
+        (
+            pytest.param(
+                ("providers/tests/system/apache/beam/file.py",),
+                {
+                    "selected-providers-list-as-string": "apache.beam 
common.compat google",
+                    "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",
+                    "prod-image-build": "false",
+                    "needs-helm-tests": "false",
+                    "run-tests": "true",
+                    "run-amazon-tests": "false",
+                    "docs-build": "false",
+                    "skip-pre-commits": (
+                        
"identity,lint-helm-chart,mypy-airflow,mypy-dev,mypy-docs"
+                        
",mypy-providers,mypy-task-sdk,ts-compile-format-lint-ui,ts-compile-format-lint-www"
+                    ),
+                    "run-kubernetes-tests": "false",
+                    "upgrade-to-newer-dependencies": "false",
+                    "core-test-types-list-as-string": "Always",
+                    "providers-test-types-list-as-string": 
"Providers[apache.beam,common.compat] Providers[google]",
+                    "individual-providers-test-types-list-as-string": 
"Providers[apache.beam] Providers[common.compat] Providers[google]",
+                    "needs-mypy": "true",
+                    "mypy-checks": "['mypy-providers']",
+                },
+                id="Selected Providers and docs should run when system tests 
are modified",
+            )
+        ),
+        (
+            pytest.param(
+                ("providers/tests/system/apache/beam/file.py", 
"providers/tests/apache/beam/file.py"),
+                {
+                    "selected-providers-list-as-string": "apache.beam 
common.compat google",
+                    "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",
+                    "prod-image-build": "false",
+                    "needs-helm-tests": "false",
+                    "run-tests": "true",
+                    "run-amazon-tests": "false",
+                    "docs-build": "false",
+                    "skip-pre-commits": (
+                        
"identity,lint-helm-chart,mypy-airflow,mypy-dev,mypy-docs"
+                        
",mypy-providers,mypy-task-sdk,ts-compile-format-lint-ui,ts-compile-format-lint-www"
+                    ),
+                    "run-kubernetes-tests": "false",
+                    "upgrade-to-newer-dependencies": "false",
+                    "core-test-types-list-as-string": "Always",
+                    "providers-test-types-list-as-string": 
"Providers[apache.beam,common.compat] Providers[google]",
+                    "individual-providers-test-types-list-as-string": 
"Providers[apache.beam] Providers[common.compat] Providers[google]",
+                    "needs-mypy": "true",
+                    "mypy-checks": "['mypy-providers']",
+                },
+                id="Selected Providers and docs should run when both system 
tests and tests are modified",
+            )
+        ),
+        (
+            pytest.param(
+                (
+                    "providers/tests/system/apache/beam/file.py",
+                    "providers/tests/apache/beam/file.py",
+                    "providers/tests/system/zendesk/file.py",
+                    "providers/tests/zendesk/file.py",
+                ),
+                {
+                    "selected-providers-list-as-string": "apache.beam 
common.compat google zendesk",
+                    "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",
+                    "prod-image-build": "false",
+                    "needs-helm-tests": "false",
+                    "run-tests": "true",

Review Comment:
   ```suggestion
                       "run-tests": "true",
                       "skip-providers-tests": "false",
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to