Skip to content

Commit

Permalink
reorder the conda installs andcreate a conda environment
Browse files Browse the repository at this point in the history
  • Loading branch information
sterrettJD committed Sep 5, 2024
1 parent d0f9f0e commit 5fc419e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,12 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pytest
sudo apt-get update
sudo apt-get install -y conda
conda create -n test-env python=${{ matrix.python-version }} -y
conda activate test-env
conda install -c bioconda -c conda-forge pip pytest fastspar>=0.0.7 armadillo=8 "scipy<=1.10.1,>=1.8.0" numpy networkx biom-format pandas scikit-bio statsmodels h5py
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
conda install -c bioconda -c conda-forge "fastspar>=0.0.7" armadillo=8 "scipy<=1.10.1,>=1.8.0"
python setup.py install
- name: Test with pytest
Expand Down

0 comments on commit 5fc419e

Please sign in to comment.