From 8dafff8b002b7321b12b2713acd451df712c9e2d Mon Sep 17 00:00:00 2001 From: bracesproul Date: Thu, 13 Jun 2024 09:37:02 -0700 Subject: [PATCH 1/3] ci[patch]: Fix syntax error --- .github/workflows/standard-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/standard-tests.yml b/.github/workflows/standard-tests.yml index 24bd8fb9b557..221837ef7448 100644 --- a/.github/workflows/standard-tests.yml +++ b/.github/workflows/standard-tests.yml @@ -28,9 +28,9 @@ jobs: strategy: matrix: package: [anthropic, cohere, google-genai, groq, mistralai] - if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-${{ matrix.package }}/') steps: - uses: actions/checkout@v4 + if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-${{ matrix.package }}/') - name: Use Node.js 18.x uses: actions/setup-node@v3 with: @@ -113,4 +113,4 @@ jobs: env: BEDROCK_AWS_REGION: "us-east-1" BEDROCK_AWS_SECRET_ACCESS_KEY: ${{ secrets.BEDROCK_AWS_SECRET_ACCESS_KEY }} - BEDROCK_AWS_ACCESS_KEY_ID: ${{ secrets.BEDROCK_AWS_ACCESS_KEY_ID }} + BEDROCK_AWS_ACCESS_KEY_ID: ${{ secrets.BEDROCK_AWS_ACCESS_KEY_ID }} \ No newline at end of file From d9a191b011d3cf0ef74e5e53f87541fe1f22bca4 Mon Sep 17 00:00:00 2001 From: bracesproul Date: Thu, 13 Jun 2024 09:39:37 -0700 Subject: [PATCH 2/3] dont conditionally run standard tests --- .github/workflows/standard-tests.yml | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/.github/workflows/standard-tests.yml b/.github/workflows/standard-tests.yml index 221837ef7448..be39eee617d5 100644 --- a/.github/workflows/standard-tests.yml +++ b/.github/workflows/standard-tests.yml @@ -6,22 +6,6 @@ on: - cron: '0 13 * * *' jobs: - get-changed-files: - runs-on: ubuntu-latest - outputs: - changed_files: ${{ steps.get_changes.outputs.changed_files }} - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 2 - - name: Get changes - id: get_changes - run: | - echo "changed_files<> $GITHUB_OUTPUT - git diff --name-only -r HEAD^1 HEAD | while read line; do printf "%s\n" "$line"; done >> $GITHUB_OUTPUT - echo "EOF" >> $GITHUB_OUTPUT - standard-tests: runs-on: ubuntu-latest needs: get-changed-files @@ -30,7 +14,6 @@ jobs: package: [anthropic, cohere, google-genai, groq, mistralai] steps: - uses: actions/checkout@v4 - if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-${{ matrix.package }}/') - name: Use Node.js 18.x uses: actions/setup-node@v3 with: @@ -53,7 +36,6 @@ jobs: standard-tests-openai: runs-on: ubuntu-latest needs: get-changed-files - if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-openai/') steps: - uses: actions/checkout@v4 - name: Use Node.js 18.x @@ -73,7 +55,6 @@ jobs: standard-tests-azure-openai: runs-on: ubuntu-latest needs: get-changed-files - if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-openai/') steps: - uses: actions/checkout@v4 - name: Use Node.js 18.x @@ -96,7 +77,6 @@ jobs: standard-tests-bedrock: runs-on: ubuntu-latest needs: get-changed-files - if: contains(needs.get-changed-files.outputs.changed_files, 'langchain-core/') || contains(needs.get-changed-files.outputs.changed_files, 'libs/langchain-community/') steps: - uses: actions/checkout@v4 - name: Use Node.js 18.x From 9f6231a2d1f4e42c89221379266d66c4713ced9b Mon Sep 17 00:00:00 2001 From: bracesproul Date: Thu, 13 Jun 2024 09:40:47 -0700 Subject: [PATCH 3/3] drops needs --- .github/workflows/standard-tests.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/standard-tests.yml b/.github/workflows/standard-tests.yml index be39eee617d5..50e73a31490c 100644 --- a/.github/workflows/standard-tests.yml +++ b/.github/workflows/standard-tests.yml @@ -8,7 +8,6 @@ on: jobs: standard-tests: runs-on: ubuntu-latest - needs: get-changed-files strategy: matrix: package: [anthropic, cohere, google-genai, groq, mistralai] @@ -35,7 +34,6 @@ jobs: # we need separate jobs for each test. standard-tests-openai: runs-on: ubuntu-latest - needs: get-changed-files steps: - uses: actions/checkout@v4 - name: Use Node.js 18.x @@ -54,7 +52,6 @@ jobs: standard-tests-azure-openai: runs-on: ubuntu-latest - needs: get-changed-files steps: - uses: actions/checkout@v4 - name: Use Node.js 18.x @@ -76,7 +73,6 @@ jobs: standard-tests-bedrock: runs-on: ubuntu-latest - needs: get-changed-files steps: - uses: actions/checkout@v4 - name: Use Node.js 18.x