Merge pull request #2642 from langchain-ai/nc/4dec/fix-stream-params #343
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: baseline | |
on: | |
workflow_dispatch: | |
push: | |
branches: [main] | |
paths: | |
- "libs/**" | |
env: | |
POETRY_VERSION: "1.7.1" | |
jobs: | |
benchmark: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: libs/langgraph | |
steps: | |
- uses: actions/checkout@v4 | |
- run: SHA=$(git rev-parse HEAD) && echo "SHA=$SHA" >> $GITHUB_ENV | |
- name: Set up Python 3.11 + Poetry ${{ env.POETRY_VERSION }} | |
uses: "./.github/actions/poetry_setup" | |
with: | |
python-version: "3.11" | |
poetry-version: ${{ env.POETRY_VERSION }} | |
cache-key: bench | |
- name: Install dependencies | |
run: poetry install --with dev | |
- name: Run benchmarks | |
run: OUTPUT=out/benchmark-baseline.json make -s benchmark | |
- name: Save outputs | |
uses: actions/cache/save@v4 | |
with: | |
key: ${{ runner.os }}-benchmark-baseline-${{ env.SHA }} | |
path: | | |
libs/langgraph/out/benchmark-baseline.json |