Skip to content

Commit

Permalink
infra: skip extended testing for partner packages (#14630)
Browse files Browse the repository at this point in the history
Tested by merging into #14627
  • Loading branch information
efriis authored Dec 13, 2023
1 parent 2bef450 commit 2318917
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/scripts/check_diff.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import sys

ALL_DIRS = {
LANGCHAIN_DIRS = {
"libs/core",
"libs/langchain",
"libs/experimental",
Expand All @@ -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")
Expand All @@ -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)))
1 change: 1 addition & 0 deletions .github/workflows/_all_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ jobs:
defaults:
run:
working-directory: ${{ inputs.working-directory }}
if: ${{ ! startsWith(inputs.working-directory, 'libs/partners/') }}
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 2318917

Please sign in to comment.