Skip to content
Snippets Groups Projects
Commit c478f48c authored by Dominique Benielli's avatar Dominique Benielli
Browse files

Update .gitlab-ci.yml

parent 69ef0ff5
No related branches found
No related tags found
No related merge requests found
Pipeline #14591 failed
# run the test suite
tests:
image: docker:20.10.16
services:
- docker:dind
variables:
DOCKER_TLS_CERTDIR: "" # Désactive l'utilisation des certificats TLS dans Docker-in-Docker
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
before_script:
- echo "Configuring Docker to use insecure registry"
- mkdir -p /etc/docker # Crée le répertoire Docker si nécessaire
- echo '{"insecure-registries":["registry.gitlab.lis-lab.fr:5005"]}' > /etc/docker/daemon.json
- dockerd & # Démarre le démon Docker
- docker login registry.gitlab.lis-lab.fr:5005 -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD
image: registry.gitlab.lis-lab.fr:5005/dev/scikit-multimodallearn/ubuntu:22.04
tags:
- docker
script:
- docker pull registry.gitlab.lis-lab.fr:5005/dev/scikit-multimodallearn/ubuntu:22.04
- docker run registry.gitlab.lis-lab.fr:5005/dev/scikit-multimodallearn/ubuntu:22.04 python3 setup.py install
- docker run registry.gitlab.lis-lab.fr:5005/dev/scikit-multimodallearn/ubuntu:22.04 pytest-3
- python3 setup.py install
- pytest-3
coverage: '/^TOTAL.+?(\d+\%)$/'
artifacts:
paths:
- htmlcov/
# generate the documentation
doc:
image: registry.gitlab.lis-lab.fr:5005/dev/scikit-multimodallearn/ubuntu:22.04
......
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