From f5bbdff05091fc108a17b7989c063b34f0cb4d5e Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Mon, 3 Mar 2025 21:06:10 +0100
Subject: [PATCH] Need tests for master branch

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .gitlab-ci.yml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 741fda2693..85ca02bbc6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -253,6 +253,7 @@ test-metadata-service:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   needs:
     - build-metadata-service
   dependencies:
@@ -275,6 +276,7 @@ test-data-service:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   needs:
     - build-data-service
   dependencies:
@@ -298,6 +300,7 @@ test-analyse-service:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   variables:
     PIPENV_PIPFILE: "./dbrepo-analyse-service/Pipfile"
   needs:
@@ -324,6 +327,7 @@ test-auth-service-init:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   variables:
     PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile"
   before_script:
@@ -348,6 +352,7 @@ test-search-service:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   variables:
     PIPENV_PIPFILE: "./dbrepo-search-service/Pipfile"
   needs:
@@ -381,6 +386,7 @@ test-search-service-init:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   variables:
     PIPENV_PIPFILE: "./dbrepo-search-service/init/Pipfile"
   needs:
@@ -407,6 +413,7 @@ test-lib:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   variables:
     PIPENV_PIPFILE: "./lib/python/Pipfile"
   needs:
@@ -433,6 +440,7 @@ test-ui:
   stage: test
   only:
     - merge_requests
+    - $CI_DEFAULT_BRANCH
   needs:
     - build-ui
   dependencies:
-- 
GitLab