From 562a7198d6830678f52eaaefa5db3e0aacfbfaf7 Mon Sep 17 00:00:00 2001
From: cmoineau <cyril.moineau@cea.fr>
Date: Fri, 18 Apr 2025 14:05:44 +0000
Subject: [PATCH] Add anchors to ubuntu before_script jobs to overload them in
 submodules.

---
 .gitlab/ci/ubuntu_python.gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab/ci/ubuntu_python.gitlab-ci.yml b/.gitlab/ci/ubuntu_python.gitlab-ci.yml
index f52c94f..484e534 100644
--- a/.gitlab/ci/ubuntu_python.gitlab-ci.yml
+++ b/.gitlab/ci/ubuntu_python.gitlab-ci.yml
@@ -10,7 +10,7 @@ build:ubuntu_python:
   needs: []
   tags:
     - docker
-  before_script:
+  before_script: &setup_ubuntu_build
     - !reference [.retrieve_deps:apt, script]
     - DEPENDENCY_JOB="build:ubuntu_python"
     - !reference [.ubuntu:download:artifacts, before_script]
@@ -41,10 +41,9 @@ test:ubuntu_python:
     - allow_failure: false
   tags:
     - docker
-  before_script:
+  before_script: &setup_ubuntu_test
     - !reference [.retrieve_deps:apt, script]
     - source venv/bin/activate
-    # - python -m pip install unittest-xml-reporting pytest
     - python -m pip install pytest
     - which python
     - python -m pip list
-- 
GitLab