From bd9cc60d35f7314461bf3a439261ab6dae187016 Mon Sep 17 00:00:00 2001 From: Summpot Date: Sun, 10 Nov 2024 21:08:37 +0800 Subject: [PATCH] 1 --- .github/workflows/benchmark.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 4cfa92d..2e16dbd 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -30,13 +30,13 @@ jobs: - name: Build with hatch run: uv build - name: Run benchmarks - run: uv run pytest --benchmark-json result.json - - name: Benchmark with bencher and pytest + run: uv run pytest --benchmark-json=results.json + - name: Upload benchmark data run: | bencher run \ --project image-interpolation \ --adapter python_pytest \ - --file results.json \ + --file ./results.json \ --token '${{ secrets.BENCHER_API_TOKEN }}' --testbed ubuntu-latest \ --github-actions '${{ secrets.GITHUB_TOKEN }}'