Skip to content

Commit

Permalink
Use setup-micromamba action from mamba-org
Browse files Browse the repository at this point in the history
  • Loading branch information
samuell committed Jun 28, 2024
1 parent a431e1d commit d72470a
Showing 1 changed file with 5 additions and 11 deletions.
16 changes: 5 additions & 11 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,13 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: '3.6.15'
- name: Install micromamba
run: |
bash <(curl -L micro.mamba.pm/install.sh)
export MAMBA_EXE='/home/runner/.local/bin/micromamba'
export MAMBA_ROOT_PREFIX='/home/runner/micromamba'
- name: Install dependencies
run: |
export LANG=en_US.iso885915
echo $LANG
micromamba create --file environment.yml
- name: Create conda/mamba environment using micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment.yml
cache-downloads: true
- name: Install microSALT
run: |
micromamba activate microSALT
mkdir ~/.microSALT && cp configExample.json ~/.microSALT/config.json
GITHUB_BRANCH=${GITHUB_REF##*/}
pip install -r requirements.txt -r requirements-dev.txt
Expand Down

0 comments on commit d72470a

Please sign in to comment.