before_script:
  - module load astrocyte
  - module load python/3.6.1-2-anaconda
  - module load nextflow/0.31.1_Ignite


stages:
  - astrocyte
  - simple

astrocyte_check:
  stage: astrocyte
  script:
  - astrocyte_cli check ../tcga_shiny
  artifacts:
    expire_in: 2 days
  retry:
    max: 2
    when:
      - always

simple:
  stage: simple
  except:
    - tags
  script:
    - nextflow run workflow/main.nf
  artifacts:
    expire_in: 2 days
  retry:
    max: 2
    when:
      - always