variables: GIT_SUBMODULE_STRATEGY: recursive .docker_before_script_anchor: &docker_before_script_anchor before_script: - apt update -y && apt install python3-pip -y - pip3 install -r requirements.txt - pip3 install -r requirements-dev.txt .singularity_before_script_anchor: &singularity_before_script_anchor before_script: - export BASETEMP=$RUN_BASE_DIR/$CI_COMMIT_REF_NAME/$CI_JOB_ID - source ${CONDA_SH} - conda activate hutspot-pipeline - export PATH=${PATH}:${SINGULARITY_PATH} - echo $BASETEMP - echo $PATH - which snakemake - echo "$(which snakemake) --profile slurm-test \"\$@\"" > snakemake - chmod +x snakemake - export PATH=.:${PATH} stages: - sanity - dry-run - integration test_sanities: <<: *docker_before_script_anchor script: - pytest-3 --tag sanity image: lumc/singularity-snakemake:3.5.2-5.9.1 tags: - docker stage: sanity test_dry_run: <<: *docker_before_script_anchor script: - pytest-3 --tag dry-run image: lumc/singularity-snakemake:3.5.2-5.9.1 tags: - docker stage: dry-run test_integration: <<: *singularity_before_script_anchor script: - pytest --tag integration --basetemp ${BASETEMP} --keep-workflow-wd tags: - slurm stage: integration