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.0

snakemake

git-pull-request

snakemake

Run Snakemake on the repository

Installation

Copy and paste the following snippet into your .yml file.

              

- name: snakemake

uses: snakemake/snakemake-github-action@v1.5.0

Learn more about this action in snakemake/snakemake-github-action

Choose a version

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/snakemake-github-action@v1
  with:
    directory: '.test'
    snakefile: 'workflow/Snakefile'
    args: '--lint'
- name: Testing
  uses: snakemake/snakemake-github-action@v1
  with:
    directory: '.test'
    snakefile: 'workflow/Snakefile'
    args: '--use-conda'
    stagein: '' # additional preliminary commands to run (can be multiline)