From d6cf607331d24ce419015d15b944222f15e4bf03 Mon Sep 17 00:00:00 2001 From: Victor Lin <13424970+victorlin@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:47:17 -0800 Subject: [PATCH] setup-miniconda: Speed up conda install Specify the channels only where needed (they don't need to be searched for conda-libmamba-solver). --- .github/actions/setup-integration-tests/action.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/actions/setup-integration-tests/action.yaml b/.github/actions/setup-integration-tests/action.yaml index 4afa9bf7..bb4aee11 100644 --- a/.github/actions/setup-integration-tests/action.yaml +++ b/.github/actions/setup-integration-tests/action.yaml @@ -25,7 +25,6 @@ runs: - uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ inputs.python-version }} - channels: conda-forge,bioconda activate-environment: test - run: | @@ -44,7 +43,7 @@ runs: # Install software for the "ambient" runner; not supported on Windows. - if: runner.os != 'Windows' - run: conda install augur auspice snakemake + run: conda install -c bioconda -c conda-forge augur auspice snakemake shell: bash -l -eo pipefail {0} - run: conda info