Skip to content

Commit

Permalink
ci[patch]: Set fail-fast to false in standard tests & update standard…
Browse files Browse the repository at this point in the history
… int test command (#6002)

* ci[patch]: Set fail-fast to false in standard tests

* fix matrix run int tests
  • Loading branch information
bracesproul authored Jul 8, 2024
1 parent cd54246 commit e08d598
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/standard-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ jobs:
standard-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
package: [anthropic, cohere, google-genai, groq, mistralai]
steps:
Expand All @@ -21,7 +22,7 @@ jobs:
- name: Install dependencies
run: yarn install --immutable --mode=skip-build
- name: Run integration tests for ${{ matrix.package }}
run: yarn test:int --filter=@langchain/${{ matrix.package }}
run: yarn turbo test:integration --filter=@langchain/${{ matrix.package }}
env:
ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }}
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
Expand Down
5 changes: 4 additions & 1 deletion turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,12 @@
"test:single": {
"dependsOn": ["^build", "build"]
},
"test:integration": {
"test:int": {
"dependsOn": ["^build", "build"]
},
"test:integration": {
"dependsOn": ["^build", "build", "test:int"]
},
"test:standard:unit": {
"outputs": [],
"dependsOn": ["^build"]
Expand Down

0 comments on commit e08d598

Please sign in to comment.