From 76d3aa08f322445d74720e81d78f7010838a0f97 Mon Sep 17 00:00:00 2001 From: Sydney Runkle Date: Tue, 24 Jun 2025 16:00:08 -0400 Subject: [PATCH] limit benchmark time --- .github/workflows/codspeed.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 2e2ba6bc1e3..8d8d531732c 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -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' }}