Skip to content

Commit

Permalink
Update python in testing and reinstate mamba
Browse files Browse the repository at this point in the history
  • Loading branch information
RenzoTale88 authored Apr 29, 2022
1 parent fa692e5 commit 2c45ebf
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,25 @@ jobs:
max-parallel: 5

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v3
with:
python-version: 3.8
python-version: 3.10
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install mamba
run: |
conda install -y -c conda-forge mamba
- name: Create generic environment
run: |
conda env create -f environment.yml
mamba env create -f environment.yml
- name: Create R environment
run: |
conda env create -f assets/r-environment.yml
mamba env create -f assets/r-environment.yml
- name: Create conda environment
run: |
conda remove -y -n nf-LO --all
conda env create -f assets/environment.yml
mamba remove -y -n nf-LO --all
mamba env create -f assets/environment.yml

0 comments on commit 2c45ebf

Please sign in to comment.