diff --git a/.gitlab/ci/default.gitlab-ci.yml b/.gitlab/ci/default.gitlab-ci.yml index 11fa5c5e74a06581b61d4889463d37b4fa3ffa39..4644c2c857b157461862779ce9d5c52dd5a6311e 100644 --- a/.gitlab/ci/default.gitlab-ci.yml +++ b/.gitlab/ci/default.gitlab-ci.yml @@ -35,6 +35,7 @@ variables: # This job is here to handle dependencies install package specific dependencies .retrieve_deps:apt: script: + - set -x - apt-get update -qq - > case $CI_PROJECT_NAME in @@ -53,3 +54,4 @@ variables: * ) ;; esac + - set +x diff --git a/.gitlab/ci/ubuntu_python.gitlab-ci.yml b/.gitlab/ci/ubuntu_python.gitlab-ci.yml index 38572c2af8b44ce688e5e6120198458e9e9d0c90..8e7afa2f7ba5ba7ec9126e23e03eaa1d672e9ef9 100644 --- a/.gitlab/ci/ubuntu_python.gitlab-ci.yml +++ b/.gitlab/ci/ubuntu_python.gitlab-ci.yml @@ -76,11 +76,10 @@ coverage:ubuntu_python: - docker before_script: - - apt-get update + - !reference [.retrieve_deps:apt, script] - apt-get install -y python-is-python3 python3-pip cmake # cmake for aidge_core tests - source venv/bin/activate - python -m pip install numpy coverage requests unittest-xml-reporting - - !reference [.retrieve_deps:apt, script] script: - cd ${CI_PROJECT_NAME} # Retrieve the installation path of the module, since it is installed with pip.