Skip to content

The agent engineering platform.

chore(infra): swap runner for codspeed (#36653)

Eugene Yurtsev42d677e41ff9
diff --git a/.github/workflows/codspeed.yml b/.github/workflows/codspeed.yml
index 8149791f33..5fe422f8a9 100644
--- a/.github/workflows/codspeed.yml
+++ b/.github/workflows/codspeed.yml
@@ -52,7 +52,7 @@ jobs:
name: "⚡ CodSpeed Benchmarks"
needs: [build]
if: ${{ needs.build.outputs.codspeed != '[]' }}
- runs-on: ubuntu-latest
+ runs-on: codspeed-macro
strategy:
matrix:
job-configs: ${{ fromJson(needs.build.outputs.codspeed) }}
@@ -77,7 +77,7 @@ jobs:
token: ${{ secrets.CODSPEED_TOKEN }}
run: |
cd ${{ matrix.job-configs.working-directory }}
- if [ "${{ matrix.job-configs.working-directory }}" = "libs/core" ]; then
+ if [ "${{ matrix.job-configs.working-directory }}" = "libs/core" ] || [ "${{ matrix.job-configs.working-directory }}" = "libs/langchain_v1" ]; then
uv run --no-sync pytest ./tests/benchmarks --codspeed
else
uv run --no-sync pytest ./tests/unit_tests/ -m benchmark --codspeed