From e5efc4426d938e6006d940866e20646f5c0e96f9 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Fri, 12 May 2023 13:58:07 -0600 Subject: [PATCH] fix, bench: build w/ pyproject.toml --- .github/workflows/continuous-integration.yml | 2 +- asv.conf.json | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index b6fbbaa5a..a56f2269e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -169,4 +169,4 @@ jobs: - name: Set asv machine run: asv machine --yes - name: Check benchmarks - run: asv dev -a repeat=1 -a rounds=1 --strict + run: asv run -a repeat=1 -a rounds=1 --strict HEAD diff --git a/asv.conf.json b/asv.conf.json index 56b462ee5..68bd9f138 100644 --- a/asv.conf.json +++ b/asv.conf.json @@ -20,5 +20,10 @@ "benchmark_dir": "benchmarks", "env_dir": ".asv/env", "results_dir": ".asv/results", - "html_dir": ".asv/html" + "html_dir": ".asv/html", + "build_command": [ + "pip install build", + "python -m build", + "PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}" + ] } \ No newline at end of file