mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-25 16:13:25 +00:00
infra: skip extended testing for partner packages (#14630)
Tested by merging into #14627
This commit is contained in:
parent
2bef45074d
commit
231891706b
8
.github/scripts/check_diff.py
vendored
8
.github/scripts/check_diff.py
vendored
@ -1,7 +1,7 @@
|
|||||||
import json
|
import json
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
ALL_DIRS = {
|
LANGCHAIN_DIRS = {
|
||||||
"libs/core",
|
"libs/core",
|
||||||
"libs/langchain",
|
"libs/langchain",
|
||||||
"libs/experimental",
|
"libs/experimental",
|
||||||
@ -23,8 +23,7 @@ if __name__ == "__main__":
|
|||||||
".github/scripts/check_diff.py",
|
".github/scripts/check_diff.py",
|
||||||
)
|
)
|
||||||
):
|
):
|
||||||
dirs_to_run = ALL_DIRS
|
dirs_to_run.update(LANGCHAIN_DIRS)
|
||||||
break
|
|
||||||
elif "libs/community" in file:
|
elif "libs/community" in file:
|
||||||
dirs_to_run.update(
|
dirs_to_run.update(
|
||||||
("libs/community", "libs/langchain", "libs/experimental")
|
("libs/community", "libs/langchain", "libs/experimental")
|
||||||
@ -39,8 +38,7 @@ if __name__ == "__main__":
|
|||||||
elif "libs/experimental" in file:
|
elif "libs/experimental" in file:
|
||||||
dirs_to_run.add("libs/experimental")
|
dirs_to_run.add("libs/experimental")
|
||||||
elif file.startswith("libs/"):
|
elif file.startswith("libs/"):
|
||||||
dirs_to_run = ALL_DIRS
|
dirs_to_run.update(LANGCHAIN_DIRS)
|
||||||
break
|
|
||||||
else:
|
else:
|
||||||
pass
|
pass
|
||||||
print(json.dumps(list(dirs_to_run)))
|
print(json.dumps(list(dirs_to_run)))
|
||||||
|
1
.github/workflows/_all_ci.yml
vendored
1
.github/workflows/_all_ci.yml
vendored
@ -72,6 +72,7 @@ jobs:
|
|||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ${{ inputs.working-directory }}
|
working-directory: ${{ inputs.working-directory }}
|
||||||
|
if: ${{ ! startsWith(inputs.working-directory, 'libs/partners/') }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user