.gitlab-ci.yml 1022 Bytes
Newer Older
Brandi Cantarel's avatar
Brandi Cantarel committed
1
2
3
4
5
6
7
8
9
10
# Gitlab CI Script for astrocyte/rnaseq
# Brandi L. Cantarel - 2017

variables:
  CLEAN_REPO_PATH: "/project/BICF/BICF_Core/s166458/astrocyte_test/${CI_RUNNER_ID}"
  TEST_BRANCH: "master"

before_script:
  - module load nextflow/0.27.6
  - mkdir -p "${CLEAN_REPO_PATH}"
Brandi Cantarel's avatar
Brandi Cantarel committed
11
  - ln -s /project/shared/bicf_workflow_ref/workflow_testdata/rnaseq ${CLEAN_REPO_PATH}/test_data
Brandi Cantarel's avatar
Brandi Cantarel committed
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32

stages:
  - integration

test_human
  stage: integration
  script:
    - nextflow run workflow/main.nf --input test_data/ --design ${CLEAN_REPO_PATH}/test_data/design.rnaseq.txt --output ${CLEAN_REPO_PATH}/human_output
  artifacts:
    paths:
      - ${CLEAN_REPO_PATH}
    expire_in: 2 days

test_mouse
  stage: integration
  script:
    - nextflow run workflow/main.nf --input test_data/ --design ${CLEAN_REPO_PATH}/test_data/mouse_se.design.txt --pairs se --fusion skip --genome /project/shared/bicf_workflow_ref/GRCm38 --markdups null --output ${CLEAN_REPO_PATH}/mouse_output
  artifacts:
    paths:
      - ${CLEAN_REPO_PATH}
    expire_in: 2 days