Skip to content

Back to conventional conda for CI #9

Back to conventional conda for CI

Back to conventional conda for CI #9

Workflow file for this run

name: Testing
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
workflow_dispatch:
jobs:
Testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Add conda to system path
run: |
# $CONDA is an environment variable pointing to the root of the miniconda directory
echo $CONDA/bin >> $GITHUB_PATH
- name: Install dependencies
run: |
conda install -c conda-forge mamba
- name: Setup snakemake
run: |
mamba install -c conda-forge -c bioconda snakemake singularity
- name: Test workflow
run: |
cd .test ; snakemake -s Snakefile --use-conda --use-singularity --cores 4