From ff25045b22cac9878c53b6d4c70614ab82d92001 Mon Sep 17 00:00:00 2001 From: Fridolin Glatter Date: Tue, 6 Jun 2023 16:58:59 +0200 Subject: [PATCH] Prefer mamba solver over conda solver * Remove pin of message-ix version --- .github/workflows/conda.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/conda.yaml b/.github/workflows/conda.yaml index 28a811363..89f9a3ed0 100644 --- a/.github/workflows/conda.yaml +++ b/.github/workflows/conda.yaml @@ -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