-
CERUTTI Guillaume authoredCERUTTI Guillaume authored
.gitlab-ci.yml 3.55 KiB
# This file is a template, and might need editing before it works on your project.
# Full project: https://gitlab.com/pages/plain-html
image: conda/miniconda3
stages:
- test
- build
- deploy
.template_retry:
retry:
max: 2
when: runner_system_failure
releaseTest:
stage: test
extends: .template_retry
tags:
- linux
script:
- . "/builds/miniconda3/etc/profile.d/conda.sh"
- conda activate base
- mamba env update -f conda/env.yaml
- conda activate gnomon_package_tissueimagemesh
- python -m pip install .
- nose2 -v
allow_failure: false
only:
- master
test_MR_linux:
stage: test
extends: .template_retry
tags:
- linux
- large
script:
- . "/builds/miniconda3/etc/profile.d/conda.sh"
- conda activate base
- mamba env update -f conda/env.yaml
- conda activate gnomon_package_tissueimagemesh
- python -m pip install .
- nose2 -v
allow_failure: false
only:
- merge_requests
- develop
compileForPipelineTestLinux:
stage: build
extends: .template_retry
tags:
- linux
- large
script:
- . "/builds/miniconda3/etc/profile.d/conda.sh"
- conda activate gnomon-dev
- mamba install -c mosaic -c conda-forge lsm3d anifilters nose2 coverage
- python -m pip install .
- nose2 -v
allow_failure: false
only:
- develop
needs: [test_MR_linux]
test_MR_macos:
stage: test
extends: .template_retry
tags:
- macos