Skip to content
Snippets Groups Projects
Commit 473b8ac1 authored by nina.marthe_ird.fr's avatar nina.marthe_ird.fr
Browse files

Merge branch '3-add-ci' into 'main'

Resolve "add-ci"

Closes #3

See merge request !1
parents fbe7ab26 c58cb20a
No related branches found
No related tags found
1 merge request!1Resolve "add-ci"
# docker image used to build the app
image: python:3.10
stages:
- install
- test
before_script:
- echo ${CI_PROJECT_DIR}
- echo ${CI_COMMIT_REF_NAME}
- export PATH=$PATH:/root/.local/bin
- python3 -m pip install -U setuptools build pip
- apt-get update -qq && apt-get install -y -qq bedtools
- python3 -m pip install --user grannot@git+https://forge.ird.fr/diade/dynadiv/grannot.git@$CI_COMMIT_REF_NAME
test_install:
stage: install
script:
- grannot --version
# tag:
# - VM
rules:
# - if: $CI_COMMIT_TAG =~ "/^v.*rc/" # if commit tag starts with v
- if: $CI_COMMIT_MESSAGE =~ "/.*-TEST.*/i" # test in commit message
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment