8000 [skip-ci] Fix benchmark CI · pydata/xarray@dd8c289 · GitHub
[go: up one dir, main page]

Skip to content

Commit dd8c289

Browse files
committed
[skip-ci] Fix benchmark CI
1 parent 4e9d557 commit dd8c289

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/benchmarks.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,11 @@ jobs:
2828
environment-name: xarray-tests
2929
cache-environment: true
3030
cache-environment-key: "${{runner.os}}-${{runner.arch}}-py${{env.PYTHON_VERSION}}-${{env.TODAY}}-${{hashFiles(env.CONDA_ENV_FILE)}}-benchmark"
31+
# add "build" because of https://github.com/airspeed-velocity/asv/issues/1385
3132
create-args: >-
3233
asv
34+
build
35+
mamba
3336
3437
3538
- name: Run benchmarks

asv_bench/asv.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
// If missing or the empty string, the tool will be automatically
3030
// determined by looking for tools on the PATH environment
3131
// variable. 8411
32-
"environment_type": "conda",
32+
"environment_type": "mamba",
3333
"conda_channels": ["conda-forge"],
3434

3535
// timeout in seconds for installing any dependencies in environment
@@ -41,7 +41,7 @@
4141

4242
// The Pythons you'd like to test against. If not provided, defaults
4343
// to the current version of Python used to run `asv`.
44-
"pythons": ["3.10"],
44+
"pythons": ["3.11"],
4545

4646
// The matrix of dependencies to test. Each key is the name of a
4747
// package (in PyPI) and the values are version numbers. An empty

0 commit comments

Comments
 (0)
0