Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
This GitLab CI configuration is valid. Learn more
Forked from BICF / Astrocyte / chipseq_analysis
463 commits behind the upstream repository.
.gitlab-ci.yml 1.29 KiB
before_script:
  - module add  python/3.6.1-2-anaconda
  - pip install --user pytest-pythonpath pytest-cov
  - module load  nextflow/0.31.0
  - ln -s /work/BICF/s163035/chipseq/*fastq.gz test_data/

stages:
  - unit
  - integration

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

single_end_mouse:
  stage: integration
  script:
  - nextflow run workflow/main.nf -resume
  - pytest -m singleend
  - pytest --cov=./workflow/scripts
  artifacts:
    expire_in: 2 days

paired_end_human:
  stage: integration
  script:
  - 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
  artifacts:
    expire_in: 2 days

single_end_diff:
  stage: integration
  script:
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_SE.txt" --genome 'GRCm38' -resume
  - pytest -m singlediff
  - pytest --cov=./workflow/scripts
  artifacts:
    expire_in: 2 days

paired_end_diff:
  stage: integration
  script:
  - nextflow run workflow/main.nf --designFile "$CI_PROJECT_DIR/test_data/design_diff_PE.txt" --genome 'GRCh38' --pairedEnd true -resume
  - pytest -m paireddiff
  - pytest --cov=./workflow/scripts
  artifacts:
    expire_in: 2 days