From 5bf5bf493b2b9e2f8bf9a10da3649dccfec14c4d Mon Sep 17 00:00:00 2001 From: Geoffrey Ragot Date: Fri, 17 Jan 2025 14:10:55 +0100 Subject: [PATCH] feat(benchmarks): use compare recipe instead of run on prs --- .github/workflows/benchmark.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index a6cad7e11..aa1b65072 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -21,7 +21,7 @@ jobs: just --justfile ./test/performance/justfile --working-directory ./test/performance - run . 5 10s 1 + ${{ github.ref == 'refs/heads/main' && 'run' || 'compare' }} . 5 10s ${{ github.ref == 'refs/heads/main' && '1' || '5' }} - run: > just --justfile ./test/performance/justfile