From 3425e3d2c163ffbdef83624510dd09ff94269b91 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 8 Jul 2024 14:30:41 -0700 Subject: [PATCH 1/2] ci[patch]: Set fail-fast to false in standard tests --- .github/workflows/standard-tests.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/standard-tests.yml b/.github/workflows/standard-tests.yml index f1ba4e093669..8a3cdf13648f 100644 --- a/.github/workflows/standard-tests.yml +++ b/.github/workflows/standard-tests.yml @@ -9,6 +9,7 @@ jobs: standard-tests: runs-on: ubuntu-latest strategy: + fail-fast: false matrix: package: [anthropic, cohere, google-genai, groq, mistralai] steps: From 7b14f74fdad1e0c3d62253ffebc0011e0e99b6be Mon Sep 17 00:00:00 2001 From: bracesproul Date: Mon, 8 Jul 2024 14:36:21 -0700 Subject: [PATCH 2/2] fix matrix run int tests --- .github/workflows/standard-tests.yml | 2 +- turbo.json | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/standard-tests.yml b/.github/workflows/standard-tests.yml index 8a3cdf13648f..95f04b1a9fee 100644 --- a/.github/workflows/standard-tests.yml +++ b/.github/workflows/standard-tests.yml @@ -22,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 }} diff --git a/turbo.json b/turbo.json index 6fbd6d60e925..ff00acaaba75 100644 --- a/turbo.json +++ b/turbo.json @@ -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"]