Bowrna commented on code in PR #23715:
URL: https://github.com/apache/airflow/pull/23715#discussion_r909476234


##########
dev/breeze/src/airflow_breeze/commands/testing_commands.py:
##########
@@ -220,6 +227,48 @@ def run_with_progress(
     finally:
         os.unlink(f.name)
     return result
+    
+def run_tests(
+    shell_params: ShellParams, dry_run: bool, verbose: bool, 
extra_pytest_args: Tuple
+) -> Tuple[int, str]:
+    env_variables = get_env_variables_for_docker_commands(shell_params)
+    perform_environment_checks(verbose=verbose)
+    cmd = ['docker-compose', 'run', '--service-ports', '--rm', 'airflow']
+    cmd.extend(list(extra_pytest_args))
+    test_result = run_command(
+        cmd,
+        verbose=verbose,
+        dry_run=dry_run,
+        env=env_variables,
+    )
+    return (
+        test_result.returncode,
+        f"Running tests for Python {shell_params.python}",
+    )
+
+
+def run_tests_in_parallel(
+    shell_params_list: List[ShellParams],
+    python_version_list: List[str],
+    parallelism: int,
+    dry_run: bool,
+    verbose: bool,
+):
+    """Run tests in parallel"""
+    get_console().print(
+        f"\n[info]Running tests with parallelism = {parallelism} "
+        f"for the python versions: {python_version_list}[/]"

Review Comment:
   sorry for the delay in this @potiuk I am currently working on this issue. I 
hope to complete this soon.



-- 
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