.gitlab-ci.yml 1.19 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
9
10
11
12
13
14
stages:
  - unit
  - integration

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

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

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

single_end_diff:
  stage: integration
  script:
36
  - 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
37
  - pytest -m singlediff
38
39
40
41
42
43
  artifacts:
    expire_in: 2 days

paired_end_diff:
  stage: integration
  script:
44
  - 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
45
  - pytest -m paireddiff
Venkat Malladi's avatar
Venkat Malladi committed
46
47
  artifacts:
    expire_in: 2 days