From 326af5c7d7d490426b0ee92d8ad9afa71076ffab Mon Sep 17 00:00:00 2001
From: Maximilian Moser <maximilian.moser@tuwien.ac.at>
Date: Sat, 29 Mar 2025 16:51:40 +0100
Subject: [PATCH] Run test jobs when the source is a schedule

---
 .gitlab-ci.yml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fa58ec4..2bbbae2 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,7 @@ run-tests:
     access: developer
     expire_in: "10 mins"
   rules:
+    - if: $CI_PIPELINE_SOURCE == 'schedule'
     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
     - if: $CI_COMMIT_TAG =~ /^v\d+/
 
@@ -38,6 +39,7 @@ sonarqube-check:
     - sonar-scanner
   allow_failure: true
   rules:
+    - if: $CI_PIPELINE_SOURCE == 'schedule'
     - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
     - if: $CI_COMMIT_TAG =~ /^v\d+/
 
-- 
GitLab