Skip to content

Commit 0387b25

Browse files
authored
Get the asv benchmarking job working again (#2028)
install an older version of conda in ASV CI job
1 parent ec6fd33 commit 0387b25

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.github/workflows/asv_check.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,18 @@ jobs:
2828
- name: Install asv
2929
run: pip install asv==0.4.2
3030

31+
# asv 0.4.2 (and more recent versions as well) creates conda envs
32+
# using the --force option, which was removed in conda 24.3.
33+
# Since ubuntu-latest now comes with conda 24.3 pre-installed,
34+
# using the system's conda will result in error.
35+
# To prevent that, we install an older version.
36+
# TODO: remove this when we eventually upgrade our asv version.
37+
# https://github.com/airspeed-velocity/asv/issues/1396
38+
- name: Install Conda
39+
uses: conda-incubator/setup-miniconda@v3
40+
with:
41+
conda-version: 24.1.2
42+
3143
- name: Run asv benchmarks
3244
run: |
3345
cd benchmarks

0 commit comments

Comments
 (0)