Skip to content

Commit

Permalink
build: use mamba to install minian
Browse files Browse the repository at this point in the history
* use mamba to setup environments during testing
* suggest using mamba to install minian in documentation.
  • Loading branch information
phildong authored Jul 20, 2022
1 parent 8de2503 commit f64c456
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/testandcov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
with:
auto-update-conda: true
python-version: ${{ matrix.python-version }}
mamba-version: "*"
activate-environment: minian
environment-file: environment.yml
- name: Install test dependencies
Expand Down
13 changes: 13 additions & 0 deletions docs/source/start_guide/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@ After you have created and activated an environment, you can install MiniAn with
and Done!

Alternatively, you can use `mamba <https://mamba.readthedocs.io/en/latest/>`_ to install minian, which usually provides faster speed when solving the dependencies.
To do so, you first need to install `mamba`, either in minian environment or in your base environment.

.. code-block:: console
conda install -y -c conda-forge mamba
After this, you can use `mamba` as a drop-in replacement command for `conda` to install minian:

.. code-block:: console
mamba install -y -c conda-forge minian
Install from source
-------------------

Expand Down

0 comments on commit f64c456

Please sign in to comment.