limit benchmark time

This commit is contained in:
Sydney Runkle 2025-06-24 16:00:08 -04:00
parent e09abf8170
commit 76d3aa08f3

View File

@ -55,8 +55,8 @@ jobs:
run: |
cd ${{ matrix.working-directory }}
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
uv run --no-sync pytest ./tests/ --codspeed
uv run --no-sync pytest ./tests/ --codspeed --codspeed-max-time=5
fi
mode: ${{ matrix.mode || 'instrumentation' }}