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