From 634799f9e4ac51a22d349716497a74c899399975 Mon Sep 17 00:00:00 2001 From: Maxim Gonchar <maxim.mg.gonchar@gmail.com> Date: Thu, 27 Apr 2023 10:31:39 +0300 Subject: [PATCH] ci: use GIT_SUBMODULE_STRATEGY --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99e5ae6..85f4f10 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,8 +5,11 @@ tests: image: git.jinr.ru:5005/gna/gna-base-docker-image:latest stage: tests + variables: + GIT_DEPTH: 1 + GIT_SUBMODULE_STRATEGY: recursive + GIT_SUBMODULE_DEPTH: 1 script: - - git submodule update --init --recursive - python3 -m pip install -r submodules/dagflow/requirements.txt - mkdir output - coverage run --source=. --omit=submodules/* -m pytest -- GitLab