Skip to content
Snippets Groups Projects
.gitlab-ci.yml 1.5 KiB
Newer Older
before_script:
  - module load astrocyte
  - module load python/3.6.1-2-anaconda
Jeremy Mathews's avatar
Jeremy Mathews committed
  - pip install --user pytest-pythonpath==0.7.1 pytest-cov==2.5.1
  - module load nextflow/0.31.1_Ignite
Gervaise Henry's avatar
Gervaise Henry committed
  - mkdir -p test_data/simple1
  - mkdir -p test_data/simple2
  - ln -sfn /project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple1/* test_data/simple1/
  - ln -sfn /project/shared/bicf_workflow_ref/workflow_testdata/cellranger/cellranger_mkfastq/simple2/* test_data/simple2/
  - astrocyte
  - simple

astrocyte_check:
  stage: astrocyte
  script:
Gervaise Henry's avatar
Gervaise Henry committed
    - astrocyte_cli check ../cellranger_mkfastq
  artifacts:
    expire_in: 2 days
Gervaise Henry's avatar
Gervaise Henry committed
  retry:
Gervaise Henry's avatar
Gervaise Henry committed
    max: 1
Gervaise Henry's avatar
Gervaise Henry committed
    when:
      - always
Gervaise Henry's avatar
Gervaise Henry committed
simple_1FC:
Gervaise Henry's avatar
Gervaise Henry committed
    - nextflow run workflow/main.nf --bcl "test_data/simple1/*.tar.gz" --designFile "test_data/simple1/cellranger-tiny-bcl-simple-1_2_0.csv"
Jeremy Mathews's avatar
Jeremy Mathews committed
    - pytest -m simple1
  artifacts:
Gervaise Henry's avatar
Gervaise Henry committed
    name: "$CI_JOB_NAME"
Gervaise Henry's avatar
Gervaise Henry committed
    when: always
Gervaise Henry's avatar
Gervaise Henry committed
    paths:
Gervaise Henry's avatar
Gervaise Henry committed
      - .nextflow.log
Jeremy Mathews's avatar
Jeremy Mathews committed
      - workflow/output/multiqc/run/multiqc_report.html
    expire_in: 2 days
Gervaise Henry's avatar
Gervaise Henry committed
  retry:
Gervaise Henry's avatar
Gervaise Henry committed
    max: 1
Gervaise Henry's avatar
Gervaise Henry committed
    when:
      - always
Gervaise Henry's avatar
Gervaise Henry committed

simple_2FC:
  stage: simple
  script:
Gervaise Henry's avatar
Gervaise Henry committed
    - nextflow run workflow/main.nf --bcl "test_data/simple2/*.tar.gz" --designFile "test_data/simple2/cellranger-tiny-bcl-simple-1_2_0.csv"
Jeremy Mathews's avatar
Jeremy Mathews committed
    - pytest -m simple2
Gervaise Henry's avatar
Gervaise Henry committed
  artifacts:
Gervaise Henry's avatar
Gervaise Henry committed
    name: "$CI_JOB_NAME"
Gervaise Henry's avatar
Gervaise Henry committed
    when: always
Gervaise Henry's avatar
Gervaise Henry committed
    paths:
Gervaise Henry's avatar
Gervaise Henry committed
      - .nextflow.log
Jeremy Mathews's avatar
Jeremy Mathews committed
      - workflow/output/multiqc/run/multiqc_report.html
    expire_in: 2 days
Gervaise Henry's avatar
Gervaise Henry committed
  retry:
Gervaise Henry's avatar
Gervaise Henry committed
    max: 1
Gervaise Henry's avatar
Gervaise Henry committed
    when:
Jeremy Mathews's avatar
Jeremy Mathews committed
      - always