From 553a8d73b5c3c9315ed8cb9aab1f01ef5fa0c66f Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Tue, 30 Jan 2024 16:01:47 -0800 Subject: [PATCH] infra: remove unnecessary tests on partner packages (#16808) --- .github/scripts/check_diff.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py index 15192fe5daf1d..ee20daa547ac4 100644 --- a/.github/scripts/check_diff.py +++ b/.github/scripts/check_diff.py @@ -36,13 +36,7 @@ elif "libs/partners" in file: partner_dir = file.split("/")[2] if os.path.isdir(f"libs/partners/{partner_dir}"): - dirs_to_run.update( - ( - f"libs/partners/{partner_dir}", - "libs/langchain", - "libs/experimental", - ) - ) + dirs_to_run.add(f"libs/partners/{partner_dir}") # Skip if the directory was deleted elif "libs/langchain" in file: dirs_to_run.update(("libs/langchain", "libs/experimental"))