Skip to content

Commit

Permalink
GH actions: mamba init
Browse files Browse the repository at this point in the history
  • Loading branch information
kdm9 committed Jan 16, 2024
1 parent cea5597 commit 1975824
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/run-snakemake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ jobs:
uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: bioconda,kdm801,conda-forge
channels: bioconda,conda-forge
channel-priority: true
auto-update-conda: false
auto-update-conda: true

- name: Cache generated inputs
id: cache-inputs
Expand All @@ -28,12 +28,17 @@ jobs:
path: tests/rawdata
key: rawdata-${{ hashFiles('tests/Snakefile.generate-rawdata') }}-${{ hashFiles('acanthophis/template/environment.yml') }}-${{ hashFiles('acanthophis/template/workflow/rules/envs/*.yml') }}

- name: setup mamba
shell: bash -el {0}
run: |
mamba init
- name: setup data
shell: bash -el {0}
run: |
mamba info
pushd tests
source setup.sh
bash setup.sh
popd
- name: run workflow
Expand Down

0 comments on commit 1975824

Please sign in to comment.