File tree Expand file tree Collapse file tree 6 files changed +21
-11
lines changed Expand file tree Collapse file tree 6 files changed +21
-11
lines changed Original file line number Diff line number Diff line change 11name : ' π Integration Tests'
2+ run-name : ' Test ${{ inputs.working-directory }} on Python ${{ inputs.python-version }}'
23
34on :
45 workflow_dispatch :
1112 required : true
1213 type : string
1314 description : " Python version to use"
15+ default : " 3.11"
1416
1517permissions :
1618 contents : read
2426 run :
2527 working-directory : ${{ inputs.working-directory }}
2628 runs-on : ubuntu-latest
27- name : ' π Integration Tests ( Python ${{ inputs.python-version }}) '
29+ name : ' Python ${{ inputs.python-version }}'
2830 steps :
2931 - uses : actions/checkout@v4
3032
Original file line number Diff line number Diff line change 11name : ' π Package Release'
2- run-name : ' Release ${{ inputs.working-directory }} by @ ${{ github.actor }}'
2+ run-name : ' Release ${{ inputs.working-directory }} ${{ inputs.release-version }}'
33on :
44 workflow_call :
55 inputs :
1414 type : string
1515 description : " From which folder this pipeline executes"
1616 default : ' libs/langchain'
17+ release-version :
18+ required : true
19+ type : string
20+ default : ' 0.1.0'
21+ description : " New version of package being released"
1722 dangerous-nonmaster-release :
1823 required : false
1924 type : boolean
Original file line number Diff line number Diff line change 1- name : ' π API Documentation Build'
1+ name : ' π API Docs'
2+ run-name : ' Build & Deploy API Reference'
23# Runs daily or can be triggered manually for immediate updates
34
45on :
@@ -51,23 +52,23 @@ jobs:
5152 run : |
5253 # Get unique repositories
5354 REPOS=$(echo "$REPOS_UNSORTED" | sort -u)
54-
55+
5556 # Checkout each unique repository
5657 for repo in $REPOS; do
5758 # Validate repository format (allow any org with proper format)
5859 if [[ ! "$repo" =~ ^[a-zA-Z0-9_.-]+/[a-zA-Z0-9_.-]+$ ]]; then
5960 echo "Error: Invalid repository format: $repo"
6061 exit 1
6162 fi
62-
63+
6364 REPO_NAME=$(echo $repo | cut -d'/' -f2)
64-
65+
6566 # Additional validation for repo name
6667 if [[ ! "$REPO_NAME" =~ ^[a-zA-Z0-9_.-]+$ ]]; then
6768 echo "Error: Invalid repository name: $REPO_NAME"
6869 exit 1
6970 fi
70-
71+
7172 echo "Checking out $repo to $REPO_NAME"
7273 git clone --depth 1 https://github.com/$repo.git $REPO_NAME
7374 done
Original file line number Diff line number Diff line change 11name : ' π₯ LangChain People'
2-
2+ run-name : ' Update People Data'
3+ # This workflow updates the LangChain People data by fetching the latest information from the LangChain Git
34on :
45 schedule :
56 - cron : " 0 14 1 * *"
Original file line number Diff line number Diff line change 1- name : ' π Run Documentation Notebooks'
2-
1+ name : ' π Validate Documentation Notebooks'
2+ run-name : ' Test notebooks in ${{ inputs.working-directory }} '
33on :
44 workflow_dispatch :
55 inputs :
Original file line number Diff line number Diff line change 11name : ' β° Scheduled Integration Tests'
2+ run-name : ' Run Integration Tests'
23
34on :
45 workflow_dispatch : # Allows maintainers to trigger the workflow manually in GitHub UI
@@ -161,7 +162,7 @@ jobs:
161162
162163 - name : ' π§Ή Clean up External Libraries'
163164 # Clean up external libraries to avoid affecting git status check
164- run : |
165+ run : |
165166 rm -rf \
166167 langchain/libs/partners/google-genai \
167168 langchain/libs/partners/google-vertexai \
You canβt perform that action at this time.
0 commit comments