diff --git a/.github/workflows/standard-tests.yml b/.github/workflows/standard-tests.yml index 24bd8fb9b557..50e73a31490c 100644 --- a/.github/workflows/standard-tests.yml +++ b/.github/workflows/standard-tests.yml @@ -6,29 +6,11 @@ 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 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 - name: Use Node.js 18.x @@ -52,8 +34,6 @@ jobs: # we need separate jobs for each test. 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 @@ -72,8 +52,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 @@ -95,8 +73,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 @@ -113,4 +89,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