Skip to content

Commit

Permalink
fix: add solver to gh workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gemygk committed May 14, 2024
1 parent c27d7e0 commit f5e5504
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f5e5504

Please sign in to comment.