From c072e10b22e3f6a5d8cfdc637555a9d29c39f54e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Louf?= Date: Mon, 12 Aug 2024 15:40:21 +0200 Subject: [PATCH] Move ASV config file --- .github/workflows/asv_benchmarks_pr.yml | 3 ++- asv.conf.json => src/asv.conf.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) rename asv.conf.json => src/asv.conf.json (94%) diff --git a/.github/workflows/asv_benchmarks_pr.yml b/.github/workflows/asv_benchmarks_pr.yml index 64064b9..7b387be 100644 --- a/.github/workflows/asv_benchmarks_pr.yml +++ b/.github/workflows/asv_benchmarks_pr.yml @@ -8,7 +8,8 @@ on: env: PYTHON_VERSION: "3.10" WORKING_DIR: ${{ github.workspace }}/src - BENCHMARKS_OUTPUT: ${{ github.workspace }}/benchmarks_output + BENCHMARKS_OUTPUT: ${{ github.workspace }}/results + HF_TOKEN: $${{ secrets.HF_TOKEN }} jobs: benchmark-pr: diff --git a/asv.conf.json b/src/asv.conf.json similarity index 94% rename from asv.conf.json rename to src/asv.conf.json index 5fc4488..209a162 100644 --- a/asv.conf.json +++ b/src/asv.conf.json @@ -7,7 +7,7 @@ "HEAD" ], "build_command": [ - "python -mpip .", + "python -mpip install .", "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}", ], "environment_type": "virtualenv",