From 412899b352f284dec5d10c6f2e7f6d75ba9ca6e7 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Wed, 21 May 2025 10:59:41 -0400 Subject: [PATCH] fix check_diff script --- .github/scripts/check_diff.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py index 3c27554115b..53a110c2129 100644 --- a/.github/scripts/check_diff.py +++ b/.github/scripts/check_diff.py @@ -254,6 +254,8 @@ if __name__ == "__main__": dirs_to_run["extended-test"].update(LANGCHAIN_DIRS) dirs_to_run["lint"].add(".") + if file.startswith("libs/core"): + dirs_to_run["codspeed"].add(f"libs/core") if any(file.startswith(dir_) for dir_ in LANGCHAIN_DIRS): # add that dir and all dirs after in LANGCHAIN_DIRS # for extended testing @@ -267,8 +269,6 @@ if __name__ == "__main__": found = True if found: dirs_to_run["extended-test"].add(dir_) - if file.startswith("libs/core"): - dirs_to_run["codspeed"].add(f"libs/core") elif file.startswith("libs/standard-tests"): # TODO: update to include all packages that rely on standard-tests (all partner packages) # note: won't run on external repo partners