From d669a9173aab5b449d73c8fa24e02f22009e02a3 Mon Sep 17 00:00:00 2001 From: Nicholas Landry Date: Sun, 24 Nov 2024 17:06:25 -0500 Subject: [PATCH] fix benchmark action --- .github/workflows/benchmark.yml | 3 +-- .gitignore | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/benchmark.yml b/.github/workflows/benchmark.yml index 24e5dbf4..0ac6d762 100644 --- a/.github/workflows/benchmark.yml +++ b/.github/workflows/benchmark.yml @@ -20,10 +20,9 @@ jobs: python-version: 3.13 - name: Run benchmarks run: | - cd benchmarks pip install --upgrade pip pip install .[benchmark] - pytest bench.py --benchmark-json output.json + pytest benchmarks/bench.py --benchmark-json benchmarks/output.json - name: Store benchmark results uses: benchmark-action/github-action-benchmark@v1 diff --git a/.gitignore b/.gitignore index 21cbc1bb..712039cc 100644 --- a/.gitignore +++ b/.gitignore @@ -148,6 +148,6 @@ cython_debug/ test.* /.vscode -# airspeed velocity files -benchmarks/html/ -benchmarks/results/ +# benchmarking files +.benchmarks +benchmarks/output.json \ No newline at end of file