From 231891706b9f98ad24b16dff29ffa2d2bf30718a Mon Sep 17 00:00:00 2001 From: Erick Friis Date: Wed, 13 Dec 2023 09:58:48 -0800 Subject: [PATCH] infra: skip extended testing for partner packages (#14630) Tested by merging into #14627 --- .github/scripts/check_diff.py | 8 +++----- .github/workflows/_all_ci.yml | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/scripts/check_diff.py b/.github/scripts/check_diff.py index 939fd9a31b835..181a26c11212f 100644 --- a/.github/scripts/check_diff.py +++ b/.github/scripts/check_diff.py @@ -1,7 +1,7 @@ import json import sys -ALL_DIRS = { +LANGCHAIN_DIRS = { "libs/core", "libs/langchain", "libs/experimental", @@ -23,8 +23,7 @@ ".github/scripts/check_diff.py", ) ): - dirs_to_run = ALL_DIRS - break + dirs_to_run.update(LANGCHAIN_DIRS) elif "libs/community" in file: dirs_to_run.update( ("libs/community", "libs/langchain", "libs/experimental") @@ -39,8 +38,7 @@ elif "libs/experimental" in file: dirs_to_run.add("libs/experimental") elif file.startswith("libs/"): - dirs_to_run = ALL_DIRS - break + dirs_to_run.update(LANGCHAIN_DIRS) else: pass print(json.dumps(list(dirs_to_run))) diff --git a/.github/workflows/_all_ci.yml b/.github/workflows/_all_ci.yml index 58bcc80336a65..7be66470dd195 100644 --- a/.github/workflows/_all_ci.yml +++ b/.github/workflows/_all_ci.yml @@ -72,6 +72,7 @@ jobs: defaults: run: working-directory: ${{ inputs.working-directory }} + if: ${{ ! startsWith(inputs.working-directory, 'libs/partners/') }} steps: - uses: actions/checkout@v4