From 8f4d646fc4cdf1baa0517038a9fba96cb8e5f4f6 Mon Sep 17 00:00:00 2001 From: Oliver Schwengers Date: Thu, 10 Aug 2023 09:08:17 +0200 Subject: [PATCH] try mamba-org/setup-micromamba@v1 --- .github/workflows/ci.yml | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 61b1d068..997a3e99 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,27 +24,29 @@ jobs: python-version: ['3.10'] # ['3.8', '3.10'] steps: - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 + - uses: mamba-org/setup-micromamba@v1 with: - auto-update-conda: false - python-version: ${{ matrix.python-version }} - miniconda-version: "latest" - mamba-version: "1.4.4" - channels: conda-forge,bioconda - channel-priority: true - auto-activate-base: false - environment-file: environment.yml - activate-environment: bakta + micromamba-version: 'latest' + environment-name: 'bakta' + environment-file: 'environment.yml' + create-args: python=${{ matrix.python-version }} + condarc: | + channels: + - conda-forge + - bioconda + init-shell: bash -l {0} + cache-environment: true + cache-downloads: true + post-cleanup: 'all' # - name: Install DeepSig # if: ${{ matrix.os == 'ubuntu-latest' && matrix.python-version == '3.8'}} - # run: conda install numpy=1.23 keras=2.4.3 tensorflow=2.2.0 chardet deepsig + # run: mamba install numpy=1.23 keras=2.4.3 tensorflow=2.2.0 chardet deepsig - name: Install PyTest - run: conda install pytest - - name: Conda info + run: mamba install pytest + - name: Mamba info run: | - conda info - conda list - conda config --show + mamba info + mamba list printenv | sort - name: Run PyTest if: ${{ matrix.os == 'ubuntu-latest' || matrix.python-version == '3.10'}}