-
Notifications
You must be signed in to change notification settings - Fork 15.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
infra: run scheduled tests on aws, google, cohere, nvidia #22328
Merged
Merged
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
b114a91
infra: run scheduled tests on aws, google, cohere, nvidia
baskaryan 68f028b
fmt
baskaryan 19f3bf0
fmt
baskaryan 1157545
fmt
baskaryan 62d84da
Update scheduled_test.yml
efriis d70cbad
fmt
baskaryan b557340
Merge branch 'bagatur/scheduled_tests_more_pkgs' of github.com:langch…
baskaryan 3a571d5
fmt
baskaryan 1dd573e
fmt
baskaryan 3515b5e
fmt
baskaryan 6a18af3
fmt
baskaryan f25d8bf
fmt
baskaryan 32d1051
fmt
baskaryan 75fc6c2
fmt
baskaryan 8cb295c
fmt
baskaryan b5cf1e0
fmt
baskaryan 38b50b5
fmt
baskaryan 7a9a5fc
fmt
baskaryan f76c405
fmt
baskaryan 3cc5e36
fmt
baskaryan 61cccae
fmt
baskaryan f550858
fmt
baskaryan 2786989
fmt
baskaryan e1eb33d
fmt
baskaryan 667b007
fmt
baskaryan 36eb18c
fmt
baskaryan 10c7b1b
fmt
baskaryan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,49 @@ env: | |
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
path: langchain | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: langchain-ai/langchain-google | ||
path: langchain-google | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: langchain-ai/langchain-nvidia | ||
path: langchain-nvidia | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: langchain-ai/langchain-cohere | ||
path: langchain-cohere | ||
- uses: actions/checkout@v4 | ||
with: | ||
repository: langchain-ai/langchain-aws | ||
path: langchain-aws | ||
|
||
- name: Set Git config | ||
working-directory: langchain | ||
run: | | ||
git config --local user.email "[email protected]" | ||
git config --local user.name "Github Actions" | ||
|
||
- name: Move libs | ||
run: | | ||
rm -rf \ | ||
langchain/libs/partners/google-genai \ | ||
langchain/libs/partners/google-vertexai \ | ||
langchain/libs/partners/nvidia-ai-endpoints \ | ||
langchain/libs/partners/cohere \ | ||
mv langchain-google/libs/genai langchain/libs/partners/google-genai | ||
mv langchain-google/libs/vertexai langchain/libs/partners/google-vertexai | ||
mv langchain-nvidia/libs/ai-endpoints langchain/libs/partners/nvidia-ai-endpoints | ||
mv langchain-cohere/libs/cohere langchain/libs/partners/cohere | ||
mv langchain-aws/libs/aws langchain/libs/partners/aws | ||
|
||
tests: | ||
needs: build | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
|
@@ -25,6 +68,11 @@ jobs: | |
- "libs/partners/groq" | ||
- "libs/partners/mistralai" | ||
- "libs/partners/together" | ||
- "libs/partners/cohere" | ||
- "libs/partners/google-vertexai" | ||
- "libs/partners/google-genai" | ||
- "libs/partners/aws" | ||
|
||
name: Python ${{ matrix.python-version }} - ${{ matrix.working-directory }} | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -43,6 +91,13 @@ jobs: | |
with: | ||
credentials_json: '${{ secrets.GOOGLE_CREDENTIALS }}' | ||
|
||
- name: Configure AWS Credentials | ||
uses: aws-actions/configure-aws-credentials@v4 | ||
with: | ||
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | ||
aws-region: ${{ secrets.AWS_REGION }} | ||
|
||
- name: Install dependencies | ||
working-directory: ${{ matrix.working-directory }} | ||
shell: bash | ||
|
@@ -67,6 +122,8 @@ jobs: | |
GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} | ||
MISTRAL_API_KEY: ${{ secrets.MISTRAL_API_KEY }} | ||
TOGETHER_API_KEY: ${{ secrets.TOGETHER_API_KEY }} | ||
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }} | ||
NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }} | ||
run: | | ||
make integration_test | ||
|
||
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
delete