Activate conda environment for Snakemake run (not during env creation) #143
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |