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

amoghdesai pushed a commit to branch docker-compose-task-sdk-integration
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit dae02368f20f2382f0f47c0ad782f5e7f9f55d8c
Author: Amogh Desai <[email protected]>
AuthorDate: Wed Jul 23 15:55:40 2025 +0530

    Fix task-sdk-integration tests by running UV from main directory
    
    - Change working directory from task-sdk-tests to main airflow directory
    - Use full path task-sdk-tests/tests/... for test file
    - Resolves UV environment detection issues in CI
    - Ensures UV can find the main project .venv correctly
---
 dev/breeze/src/airflow_breeze/utils/run_tests.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev/breeze/src/airflow_breeze/utils/run_tests.py 
b/dev/breeze/src/airflow_breeze/utils/run_tests.py
index 47f2cd1dd81..0c5e6058a75 100644
--- a/dev/breeze/src/airflow_breeze/utils/run_tests.py
+++ b/dev/breeze/src/airflow_breeze/utils/run_tests.py
@@ -109,8 +109,8 @@ def run_docker_compose_tests(
     pytest_args = ("--color=yes",)
 
     if test_type == "task-sdk-integration":
-        test_path = Path("tests") / "task_sdk_tests" / 
"test_task_sdk_health.py"
-        cwd = TASK_SDK_TESTS_ROOT_PATH.as_posix()
+        test_path = Path("task-sdk-tests") / "tests" / "task_sdk_tests" / 
"test_task_sdk_health.py"
+        cwd = AIRFLOW_ROOT_PATH.as_posix()  # Run from main airflow directory
 
         cmd = ["uv", "run", "python", "-m", "pytest", str(test_path), "-s", 
*pytest_args, *extra_pytest_args]
     else:  # docker-compose

Reply via email to