Skip to content

Commit

Permalink
Prefer mamba solver over conda solver
Browse files Browse the repository at this point in the history
* Remove pin of message-ix version
  • Loading branch information
glatterf42 committed Jun 6, 2023
1 parent 2761257 commit 6dee23a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/conda.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ jobs:

- name: Configure conda channels, update, create environment, and install message-ix
run: |
conda install -n base conda-libmamba-solver
conda config --set solver libmamba
conda config --prepend channels conda-forge
conda config --set channel_priority strict
conda update -n base -c defaults conda
# Also install pytest and packages required for testing. pip/PyPI
# supports this via message_ix[testing], but conda does not.
conda create --quiet --name testenv message-ix=3.7.0 ${{ matrix.extra-deps }} pytest asyncssh sphinx
conda create --quiet --name testenv message-ix ${{ matrix.extra-deps }} pytest asyncssh sphinx
conda list --name testenv
- name: Check CLI commands and run test
Expand Down

0 comments on commit 6dee23a

Please sign in to comment.