Skip to content

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

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

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

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: '.'
args: '--cores=1 --sdm=conda --conda-cleanup-pkgs=cache'