fix codspeed command

This commit is contained in:
Chester Curme 2025-05-21 09:54:02 -04:00
parent b895a18e6d
commit d896b05255

View File

@ -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