From da836a4c9ca5347244c608dcb794a2e010c3716d Mon Sep 17 00:00:00 2001 From: Venkat Date: Mon, 10 Jun 2024 16:13:26 -0400 Subject: [PATCH] move example dags folder --- anyscale_provider/example_dags/.airflowignore | 1 - {anyscale_provider => tests/dags}/example_dags/anyscale_dag.py | 0 .../dags}/example_dags/anyscale_service.py | 0 .../dags}/example_dags/ray_scripts/ray-serve.py | 0 .../dags}/example_dags/ray_scripts/script-gpu.py | 0 .../dags}/example_dags/ray_scripts/script.py | 0 tests/dags/test_dag_example.py | 2 +- 7 files changed, 1 insertion(+), 2 deletions(-) delete mode 100644 anyscale_provider/example_dags/.airflowignore rename {anyscale_provider => tests/dags}/example_dags/anyscale_dag.py (100%) rename {anyscale_provider => tests/dags}/example_dags/anyscale_service.py (100%) rename {anyscale_provider => tests/dags}/example_dags/ray_scripts/ray-serve.py (100%) rename {anyscale_provider => tests/dags}/example_dags/ray_scripts/script-gpu.py (100%) rename {anyscale_provider => tests/dags}/example_dags/ray_scripts/script.py (100%) diff --git a/anyscale_provider/example_dags/.airflowignore b/anyscale_provider/example_dags/.airflowignore deleted file mode 100644 index 5292519..0000000 --- a/anyscale_provider/example_dags/.airflowignore +++ /dev/null @@ -1 +0,0 @@ -logs/ \ No newline at end of file diff --git a/anyscale_provider/example_dags/anyscale_dag.py b/tests/dags/example_dags/anyscale_dag.py similarity index 100% rename from anyscale_provider/example_dags/anyscale_dag.py rename to tests/dags/example_dags/anyscale_dag.py diff --git a/anyscale_provider/example_dags/anyscale_service.py b/tests/dags/example_dags/anyscale_service.py similarity index 100% rename from anyscale_provider/example_dags/anyscale_service.py rename to tests/dags/example_dags/anyscale_service.py diff --git a/anyscale_provider/example_dags/ray_scripts/ray-serve.py b/tests/dags/example_dags/ray_scripts/ray-serve.py similarity index 100% rename from anyscale_provider/example_dags/ray_scripts/ray-serve.py rename to tests/dags/example_dags/ray_scripts/ray-serve.py diff --git a/anyscale_provider/example_dags/ray_scripts/script-gpu.py b/tests/dags/example_dags/ray_scripts/script-gpu.py similarity index 100% rename from anyscale_provider/example_dags/ray_scripts/script-gpu.py rename to tests/dags/example_dags/ray_scripts/script-gpu.py diff --git a/anyscale_provider/example_dags/ray_scripts/script.py b/tests/dags/example_dags/ray_scripts/script.py similarity index 100% rename from anyscale_provider/example_dags/ray_scripts/script.py rename to tests/dags/example_dags/ray_scripts/script.py diff --git a/tests/dags/test_dag_example.py b/tests/dags/test_dag_example.py index 6a5a3da..6f5e231 100644 --- a/tests/dags/test_dag_example.py +++ b/tests/dags/test_dag_example.py @@ -9,7 +9,7 @@ import utils as test_utils -EXAMPLE_DAGS_DIR = Path(__file__).parent.parent.parent / "anyscale_provider/example_dags" +EXAMPLE_DAGS_DIR = Path(__file__)/ "tests/dags/example_dags" print(f"EXAMPLE_DAGS_DIR: {EXAMPLE_DAGS_DIR}") def get_dags(dag_folder=None):