mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-13 22:59:05 +00:00
limit benchmark time
This commit is contained in:
parent
e09abf8170
commit
76d3aa08f3
4
.github/workflows/codspeed.yml
vendored
4
.github/workflows/codspeed.yml
vendored
@ -55,8 +55,8 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd ${{ matrix.working-directory }}
|
cd ${{ matrix.working-directory }}
|
||||||
if [ "${{ matrix.working-directory }}" = "libs/core" ]; then
|
if [ "${{ matrix.working-directory }}" = "libs/core" ]; then
|
||||||
uv run --no-sync pytest ./tests/benchmarks --codspeed
|
uv run --no-sync pytest ./tests/benchmarks --codspeed --codspeed-max-time=5
|
||||||
else
|
else
|
||||||
uv run --no-sync pytest ./tests/ --codspeed
|
uv run --no-sync pytest ./tests/ --codspeed --codspeed-max-time=5
|
||||||
fi
|
fi
|
||||||
mode: ${{ matrix.mode || 'instrumentation' }}
|
mode: ${{ matrix.mode || 'instrumentation' }}
|
||||||
|
Loading…
Reference in New Issue
Block a user