Skip to content

Commit

Permalink
Use conda-incubator/setup-miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
maxrjones committed Jan 16, 2024
1 parent 57e8015 commit 7ae52bc
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ jobs:
- name: Checkout
uses: actions/checkout@v4

- name: Install Conda environment from environment.yml
uses: mamba-org/setup-micromamba@v1
- uses: conda-incubator/setup-miniconda@v3
with:
# environment-file is not assumed anymore
environment-file: ci/environment.yml
create-args: >-
python=3.10
# now called cache-environment
cache-environment: true
python-version: 3.10
auto-activate-base: true
activate-environment: ""

- name: Install package
run: |
python -m pip install . --no-deps
python -m pip install -e . --no-deps
- name: Conda list information
run: |
conda env list
conda list
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
run: python -m pytest --codspeed
shell: bash -el {0}
run: |
python -c "import ndpyramid; print(ndpyramid.__version__)"
python -m pytest --codspeed

0 comments on commit 7ae52bc

Please sign in to comment.