Skip to content

Commit

Permalink
setup miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
sterrettJD committed Sep 5, 2024
1 parent b2ede75 commit 117db9a
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,27 @@ jobs:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10"]

# Set it to default use bash in interactive mode (required for miniconda setup)
defaults:
run:
shell: bash -el {0}
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: create environment with mamba
uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
python-version: ${{ matrix.python-version }}
channels: conda-forge,bioconda,defaults
auto-activate-base: false
environment-file: environment.yaml
- name: Install dependencies
run: |
python -m pip install --upgrade pip
conda install -c bioconda -c conda-forge "fastspar>=0.0.7" armadillo=8 "scipy<=1.10.1,>=1.8.0"
pip install pytest
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
python setup.py install
Expand Down

0 comments on commit 117db9a

Please sign in to comment.