Try different mamba install method
Getting errors with the old/existing method
@@ -10,8 +10,8 @@ jobs:
shell: bash
strategy:
max-parallel: 5
- matrix:
- python-version: ["3.9", "3.10"]
+ # matrix:
+ # python-version: ["3.9", "3.10"]
steps:
- uses: actions/checkout@v2
@@ -19,16 +19,28 @@ jobs:
uses: actions/setup-python@v2
with:
python-version: 3.9
- - 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 mamba -n base -c conda-forge
- - name: Install dependencies
- run: |
- mamba env update --file environment.yml --name base
+ - name: mamba
+ uses: conda-incubator/setup-miniconda@v2
+ with:
+ python-version: 3.9
+ mamba-version: "*"
+ channels: conda-forge,defaults
+ channel-priority: true
+ activate-environment: powergenome
+ environment-file: environment.yml
+ - run: |
+ conda info
+
+ # - 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 mamba -n base -c conda-forge
+ # - name: Install dependencies
+ # run: |
+ # mamba env update --file environment.yml --name base
- name: install powergenome
run: |
pip install -e .
