From 0ffd7873ba1c7a6d0a439a7e07d54db2366f2e58 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Tue, 1 Jul 2025 16:05:15 +0200 Subject: [PATCH 1/2] chore: run on staging --- .github/workflows/benchmark.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 42b21ecbb3b2..82691306e2e9 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -18,7 +18,7 @@ env: jobs: benchmark: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 timeout-minutes: 15 steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -41,5 +41,7 @@ jobs: - name: Run benchmarks uses: CodSpeedHQ/action@v2 with: - token: ${{ secrets.CODSPEED_TOKEN }} + token: ${{ secrets.STAGING_CODSPEED_TOKEN }} + upload-url: https://api.staging.preview.codspeed.io/upload run: .venv/bin/pytest --codspeed --benchmark-enable --benchmark-only ./tests/bench/ --benchmark-json=bench-pr.json --x509-limbo-root=x509-limbo/ + From 00f9544639c7de295711bf8335af608171774664 Mon Sep 17 00:00:00 2001 From: Guillaume Lagrange Date: Tue, 1 Jul 2025 16:33:12 +0200 Subject: [PATCH 2/2] chore: run on prod --- .github/workflows/benchmark.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 82691306e2e9..47476557c1cc 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -41,7 +41,8 @@ jobs: - name: Run benchmarks uses: CodSpeedHQ/action@v2 with: - token: ${{ secrets.STAGING_CODSPEED_TOKEN }} - upload-url: https://api.staging.preview.codspeed.io/upload + token: ${{ secrets.CODSPEED_TOKEN }} + # token: ${{ secrets.STAGING_CODSPEED_TOKEN }} + # upload-url: https://api.staging.preview.codspeed.io/upload run: .venv/bin/pytest --codspeed --benchmark-enable --benchmark-only ./tests/bench/ --benchmark-json=bench-pr.json --x509-limbo-root=x509-limbo/