-
Notifications
You must be signed in to change notification settings - Fork 1
58 lines (56 loc) · 2.19 KB
/
main.yaml
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: tests
on:
workflow_dispatch:
push:
branches:
- master
- main
pull_request:
branches_ignore: []
jobs:
Dry_Run_and_Lint_DNA_RNA:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://snakemake/snakemake:latest
- name: Dry Run
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:latest \
/opt2/metamorph run --input /opt2/.tests/test_cohort.txt \
--output /opt2/output --mode local --dry-run
- name: View the pipeline config file [DNA & RNA modes]
run: |
echo "Generated config file for pipeline...." && cat $PWD/output/config.json
- name: Lint Workflow
continue-on-error: true
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:latest snakemake --lint -s /opt2/output/workflow/Snakefile -d /opt2/output || \
echo 'There may have been a few warnings or errors. Please read through the log to determine if its harmless.'
Dry_Run_and_Lint_DNAonly1:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://snakemake/snakemake:latest
- name: Dry Run [DNA only mode]
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:latest \
/opt2/metamorph run --input /opt2/.tests/test_cohort_DNAonly.txt \
--output /opt2/output --mode local --dry-run
- name: View the pipeline config file [DNA only mode]
run: |
echo "Generated config file for pipeline...." && cat $PWD/output/config.json
- name: Lint Workflow
continue-on-error: true
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:latest snakemake --lint -s /opt2/output/workflow/Snakefile -d /opt2/output || \
echo 'There may have been a few warnings or errors. Please read through the log to determine if its harmless.'
Dry_Run_DNA2:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: docker://snakemake/snakemake:latest
- name: Dry Run [DNA only mode w RNA column]
run: |
docker run -v $PWD:/opt2 snakemake/snakemake:latest \
/opt2/metamorph run --input /opt2/.tests/test_cohort_DNAonly_RNAcolexists.txt \
--output /opt2/output --mode local --dry-run