Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: fix asv setup #2167

Merged
merged 1 commit into from
Jul 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ jobs:
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -e .[tests]
pip install --upgrade asv

- name: Setup asv
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/regression/asv.conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// "uninstall_command": ["return-code=any python -mpip uninstall -y {project}"],
"build_command": [
"DEVITO_BENCHMARKS=1 python setup.py build",
"PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
"DEVITO_BENCHMARKS=1 PIP_NO_BUILD_ISOLATION=false python -mpip wheel --no-deps --no-index -w {build_cache_dir} {build_dir}"
],

// List of branches to benchmark. If not provided, defaults to "master"
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@
try:
if not bool(int(os.environ.get('DEVITO_BENCHMARKS', 0))):
exclude += ['examples']
else:
required += testing
except (TypeError, ValueError):
exclude += ['examples']

Expand Down
Loading