Skip to content

Activate conda environment for Snakemake run (not during env creation) #143

Activate conda environment for Snakemake run (not during env creation)

Activate conda environment for Snakemake run (not during env creation) #143

Workflow file for this run

on:
push:
pull_request:
name: snakemake-run
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v3
- uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
channels: bioconda,conda-forge,defaults
channel-priority: true
environment-file: scraps_conda.yml
auto-activate-base: false
use-mamba: true
- name: Run Snakemake
shell: bash -el {0}
run: |
conda activate scraps_conda
snakemake -npr --configfile config.yaml