.gitlab-ci.yml 1.18 KB
Newer Older
Venkat Malladi's avatar
Venkat Malladi committed
1
before_script:
Venkat Malladi's avatar
Venkat Malladi committed
2
  - module add  python/3.6.1-2-anaconda
3
  - pip install --user pytest-pythonpath pytest-cov
Venkat Malladi's avatar
Venkat Malladi committed
4
  - module load  nextflow/0.31.0
5
  - ln -s /work/BICF/s163035/chipseq/*fastq.gz test_data/
Venkat Malladi's avatar
Venkat Malladi committed
6

Venkat Malladi's avatar
Venkat Malladi committed
7
8
stages:
  - unit
9
10
  - single
  - multiple
Venkat Malladi's avatar
Venkat Malladi committed
11
12
13
14
15

user_configuration:
  stage: unit
  script:
  - pytest -m unit
16
  -pytest -m unit --cov=./workflow/scripts
Venkat Malladi's avatar
Venkat Malladi committed
17
18

single_end_mouse:
19
  stage: single
Venkat Malladi's avatar
Venkat Malladi committed
20
  script:
Venkat Malladi's avatar
Venkat Malladi committed
21
  - nextflow run workflow/main.nf -resume
22
  - pytest -m singleend
Venkat Malladi's avatar
Venkat Malladi committed
23
24
  artifacts:
    expire_in: 2 days
Venkat Malladi's avatar
Venkat Malladi committed
25
26

paired_end_human:
27
  stage: single
Venkat Malladi's avatar
Venkat Malladi committed
28
  script:
29
30
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_ENCSR729LGA_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
  - pytest -m pairedend
31
32
33
34
  artifacts:
    expire_in: 2 days

single_end_diff:
35
  stage: multiple
36
  script:
37
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume
Venkat Malladi's avatar
Venkat Malladi committed
38
  - pytest -m singlediff
39
40
41
42
  artifacts:
    expire_in: 2 days

paired_end_diff:
43
  stage: multiple
44
  script:
45
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
Venkat Malladi's avatar
Venkat Malladi committed
46
  - pytest -m paireddiff
Venkat Malladi's avatar
Venkat Malladi committed
47
48
  artifacts:
    expire_in: 2 days