generated from mrvollger/SmkTemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
38 lines (32 loc) · 953 Bytes
/
lint.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: Linting
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main, master]
pull_request:
branches: [main, master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
linting:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
- name: Display the path
shell: bash
run: echo $PATH
- name: Display the working directory
shell: bash
run: echo $PWD
- name: Display the directory contents
shell: bash
run: ls $PWD
- name: Test linting
uses: snakemake/snakemake-github-action@v1
with:
directory: /github/workspace
snakefile: workflow/Snakefile
args: "--lint"