Skip to content

fixes

fixes #95

Workflow file for this run

name: snakemake-actions
on: [push]
jobs:
formatting:
runs-on: ubuntu-latest
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Formatting
uses: github/super-linter@v4
env:
VALIDATE_ALL_CODEBASE: false
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_SNAKEMAKE_SNAKEFMT: true
linting:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Linting
uses: snakemake/[email protected]
with:
directory: .test
snakefile: workflow/Snakefile
stagein: "conda config --set channel_priority strict"
args: "--lint"
dry-run:
runs-on: ubuntu-latest
needs:
- linting
- formatting
steps:
- name: Checkout repository and submodules
uses: actions/checkout@v2
with:
submodules: recursive
- name: Dry-run workflow
uses: snakemake/[email protected]
with:
directory: .test
snakefile: workflow/Snakefile
stagein: "conda config --set channel_priority strict"
args: "--use-conda --show-failed-logs --cores 2 --conda-cleanup-pkgs cache -n"