From 1a05b1ad2d323ba2fa213083837260a12c65999c Mon Sep 17 00:00:00 2001 From: Xuanwo Date: Sun, 4 Feb 2024 11:19:26 +0800 Subject: [PATCH] Rename Signed-off-by: Xuanwo --- .../scripts/{behavior_test => test_behavior}/__init__.py | 0 .github/scripts/{behavior_test => test_behavior}/plan.py | 6 +++--- .../scripts/{behavior_test => test_behavior}/test_plan.py | 0 3 files changed, 3 insertions(+), 3 deletions(-) rename .github/scripts/{behavior_test => test_behavior}/__init__.py (100%) rename .github/scripts/{behavior_test => test_behavior}/plan.py (97%) rename .github/scripts/{behavior_test => test_behavior}/test_plan.py (100%) diff --git a/.github/scripts/behavior_test/__init__.py b/.github/scripts/test_behavior/__init__.py similarity index 100% rename from .github/scripts/behavior_test/__init__.py rename to .github/scripts/test_behavior/__init__.py diff --git a/.github/scripts/behavior_test/plan.py b/.github/scripts/test_behavior/plan.py similarity index 97% rename from .github/scripts/behavior_test/plan.py rename to .github/scripts/test_behavior/plan.py index 88768e5c0900..66a44b13e71e 100755 --- a/.github/scripts/behavior_test/plan.py +++ b/.github/scripts/test_behavior/plan.py @@ -96,18 +96,18 @@ def calculate_hint(changed_files: list[str]) -> Hint: for p in changed_files: # workflow behavior tests affected - if p == ".github/workflows/behavior_test.yml": + if p == ".github/workflows/test_behavior.yml": hint.core = True for language in LANGUAGE_BINDING: setattr(hint, f"binding_{language}", True) hint.all_service = True - if p == ".github/workflows/behavior_test_core.yml": + if p == ".github/workflows/test_behavior_core.yml": hint.core = True hint.all_service = True for language in LANGUAGE_BINDING: - if p == f".github/workflows/behavior_test_binding_{language}.yml": + if p == f".github/workflows/test_behavior_binding_{language}.yml": setattr(hint, f"binding_{language}", True) hint.all_service = True # core affected diff --git a/.github/scripts/behavior_test/test_plan.py b/.github/scripts/test_behavior/test_plan.py similarity index 100% rename from .github/scripts/behavior_test/test_plan.py rename to .github/scripts/test_behavior/test_plan.py