Skip to content

Commit

Permalink
Get the asv benchmarking job working again (#2028)
Browse files Browse the repository at this point in the history
install an older version of conda in ASV CI job
  • Loading branch information
kandersolar authored May 2, 2024
1 parent ec6fd33 commit 0387b25
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/asv_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@ jobs:
- name: Install asv
run: pip install asv==0.4.2

# asv 0.4.2 (and more recent versions as well) creates conda envs
# using the --force option, which was removed in conda 24.3.
# Since ubuntu-latest now comes with conda 24.3 pre-installed,
# using the system's conda will result in error.
# To prevent that, we install an older version.
# TODO: remove this when we eventually upgrade our asv version.
# https://github.com/airspeed-velocity/asv/issues/1396
- name: Install Conda
uses: conda-incubator/setup-miniconda@v3
with:
conda-version: 24.1.2

- name: Run asv benchmarks
run: |
cd benchmarks
Expand Down

0 comments on commit 0387b25

Please sign in to comment.