.gitlab-ci.yml 1.29 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
15
16
17
18
stages:
  - unit
  - integration

user_configuration:
  stage: unit
  script:
  - pytest -m unit

single_end_mouse:
  stage: integration
  script:
Venkat Malladi's avatar
Venkat Malladi committed
19
  - nextflow run workflow/main.nf -resume
20
  - pytest -m singleend
Venkat Malladi's avatar
Venkat Malladi committed
21
  - pytest --cov=./workflow/scripts
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
30
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_ENCSR729LGA_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
  - pytest -m pairedend
  - pytest --cov=./workflow/scripts
31
32
33
34
35
36
  artifacts:
    expire_in: 2 days

single_end_diff:
  stage: integration
  script:
37
38
39
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume
  - pytest -m pairedend
  - pytest --cov=./workflow/scripts
40
41
42
43
44
45
  artifacts:
    expire_in: 2 days

paired_end_diff:
  stage: integration
  script:
46
47
48
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
  - pytest -m pairedend
  - pytest --cov=./workflow/scripts
Venkat Malladi's avatar
Venkat Malladi committed
49
50
  artifacts:
    expire_in: 2 days