From d896b052550d31229a107934fa45f2e3a8d5bd89 Mon Sep 17 00:00:00 2001 From: Chester Curme Date: Wed, 21 May 2025 09:54:02 -0400 Subject: [PATCH] fix codspeed command --- .github/workflows/codspeed.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml index 281e60b7aca..ab70413d303 100644 --- a/.github/workflows/codspeed.yml +++ b/.github/workflows/codspeed.yml @@ -49,5 +49,9 @@ jobs: token: ${{ secrets.CODSPEED_TOKEN }} run: | cd ${{ inputs.working-directory }} - uv run --no-sync pytest ./tests/benchmarks --codspeed + if [ "${{ inputs.working-directory }}" = "libs/core" ]; then + uv run --no-sync pytest ./tests/benchmarks --codspeed + else + uv run --no-sync pytest ./tests/ --codspeed + fi mode: walltime