Skip to content

Commit e5efc44

Browse files
committedMay 15, 2023
fix, bench: build w/ pyproject.toml
1 parent 684b317 commit e5efc44

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
 

‎.github/workflows/continuous-integration.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,4 +169,4 @@ jobs:
169169
- name: Set asv machine
170170
run: asv machine --yes
171171
- name: Check benchmarks
172-
run: asv dev -a repeat=1 -a rounds=1 --strict
172+
run: asv run -a repeat=1 -a rounds=1 --strict HEAD

‎asv.conf.json

+6-1
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,10 @@
2020
"benchmark_dir": "benchmarks",
2121
"env_dir": ".asv/env",
2222
"results_dir": ".asv/results",
23-
"html_dir": ".asv/html"
23+
"html_dir": ".asv/html",
24+
"build_command": [
25+
"pip install build",
26+
"python -m build",
27+
"PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
28+
]
2429
}

0 commit comments

Comments
 (0)
Please sign in to comment.