Skip to content

Create github action to run pre-commit and snakemake on repo #7

Create github action to run pre-commit and snakemake on repo

Create github action to run pre-commit and snakemake on repo #7

Workflow file for this run

name: main
on:
workflow_dispatch:
pull_request:
jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- uses: pre-commit/[email protected]
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Snakemake
uses: snakemake/[email protected]
with:
directory: '.test'
snakefile: 'workflow/Snakefile'
args: '--cores=1 --config=config/config.yaml --sdm=conda --conda-cleanup-pkgs=cache'