feat(llmobs): add vertexai plugin #3540
Workflow file for this run
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
name: LLMObs | |
on: | |
pull_request: | |
push: | |
branches: [master] | |
schedule: | |
- cron: 0 4 * * * | |
- cron: 20 4 * * * | |
- cron: 40 4 * * * | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
sdk: | |
strategy: | |
matrix: | |
version: [18, 20, 22, latest] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: ./.github/actions/testagent/start | |
- uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 | |
with: | |
node-version: ${{ matrix.version }} | |
- uses: ./.github/actions/install | |
- run: yarn test:llmobs:sdk:ci | |
- if: always() | |
uses: ./.github/actions/testagent/logs | |
with: | |
suffix: llmobs-${{ github.job }}-${{ matrix.version }} | |
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 | |
openai: | |
runs-on: ubuntu-latest | |
env: | |
PLUGINS: openai | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: ./.github/actions/testagent/start | |
- uses: ./.github/actions/node/oldest-maintenance-lts | |
- uses: ./.github/actions/install | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: ./.github/actions/node/active-lts | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 | |
- if: always() | |
uses: ./.github/actions/testagent/logs | |
with: | |
suffix: llmobs-${{ github.job }} | |
langchain: | |
runs-on: ubuntu-latest | |
env: | |
PLUGINS: langchain | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: ./.github/actions/testagent/start | |
- uses: ./.github/actions/node/oldest-maintenance-lts | |
- uses: ./.github/actions/install | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: ./.github/actions/node/active-lts | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 | |
- if: always() | |
uses: ./.github/actions/testagent/logs | |
with: | |
suffix: llmobs-${{ github.job }} | |
bedrock: | |
runs-on: ubuntu-latest | |
env: | |
PLUGINS: aws-sdk | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: ./.github/actions/testagent/start | |
- uses: ./.github/actions/node/oldest-maintenance-lts | |
- uses: ./.github/actions/install | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: ./.github/actions/node/active-lts | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 | |
- if: always() | |
uses: ./.github/actions/testagent/logs | |
with: | |
suffix: llmobs-${{ github.job }} | |
vertex-ai: | |
runs-on: ubuntu-latest | |
env: | |
PLUGINS: google-cloud-vertexai | |
steps: | |
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: ./.github/actions/testagent/start | |
- uses: ./.github/actions/node/oldest-maintenance-lts | |
- uses: ./.github/actions/install | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: ./.github/actions/node/active-lts | |
- run: yarn test:llmobs:plugins:ci | |
shell: bash | |
- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v5.3.1 | |
- if: always() | |
uses: ./.github/actions/testagent/logs | |
with: | |
suffix: llmobs-${{ github.job }} |