Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
git-pull-request

GitHub Action

snakemake

v1.5.1

Snakemake github action

This action runs Snakemake on the repository.

Inputs

directory

Required The working directory to use. Default .test.

snakefile

The Snakefile containing the workflow description. Default Snakefile.

args

Additional arguments to pass to Snakemake.

stagein

Preliminary commands to run before the workflow execution.

Example usage

- name: Linting
  uses: snakemake/[email protected]
  with:
    directory: '.test'
    snakefile: 'workflow/Snakefile'
    args: '--lint'
- name: Testing
  uses: snakemake/[email protected]
  with:
    directory: '.test'
    snakefile: 'workflow/Snakefile'
    args: '--cores 1 --use-conda'
    stagein: '' # additional preliminary commands to run (can be multiline)