From f5e5504ddcdd7fb00c31c6c5e1ee9c2b7d62d905 Mon Sep 17 00:00:00 2001 From: Gemy Kaithakottil Date: Tue, 14 May 2024 09:01:21 +0100 Subject: [PATCH] fix: add solver to gh workflow --- .github/workflows/python-package.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index ae06734e..4b96f82f 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -12,6 +12,7 @@ jobs: strategy: matrix: python-version: [ 3.7, 3.8, 3.9 ] + solver: ["classic", "libmamba"] os: [ubuntu-latest, macos-latest] steps: - name: Install system development tools @@ -48,21 +49,22 @@ jobs: - uses: conda-incubator/setup-miniconda@v2 with: python-version: ${{ matrix.python-version }} - repo-token: ${{ secrets.GITHUB_TOKEN }} + conda-solver: ${{ matrix.solver }} + # repo-token: ${{ secrets.GITHUB_TOKEN }} miniconda-version: "latest" environment-file: ./environment.yml mamba-version: "*" use-mamba: true channels: conda-forge, defaults use-only-tar-bz2: true # IMPORTANT: This needs to be set for caching to work properly! - # auto-update-conda: false + auto-update-conda: true activate-environment: "mikado2" # auto-activate-base: false - name: Install dependencies run: | gcc --help pip install -r requirements.txt - python -c "import pysam; print(pysam.__version__)" + python -c "import pysam; print(pysam.__version__)" pip install Cython pytest-cov python setup.py develop - name: Test light