Skip to content

Commit

Permalink
use gh actions for conda setup
Browse files Browse the repository at this point in the history
  • Loading branch information
ktmeaton committed May 12, 2020
1 parent 2e49286 commit 5c6b1be
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,22 @@ on:

jobs:

example:
pipeline:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create Conda Environment
run: |
conda env create -f phylo-env.yaml --name phylo-env
conda activate phylo-env
- uses: actions/checkout@v2
- uses: goanpeca/setup-miniconda@v1
with:
activate-environment: phylo-env
environment-file: phylo-env.yaml
auto-activate-base: false
- shell: bash -l {0}
run: |
conda info
conda list
- name: Pipeline Test
run: |
nextflow run pipeline.nf \
--sqlite results/ncbimeta_db/update/latest/output/database/yersinia_pestis_db.sqlite \
--max_datasets 3
- name: Pipeline Test
run: |
nextflow run pipeline.nf \
--sqlite results/ncbimeta_db/update/latest/output/database/yersinia_pestis_db.sqlite \
--max_datasets 3

0 comments on commit 5c6b1be

Please sign in to comment.