From 1378736fdf2a22b5194d5aef807876ffef893f20 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Oriol=20Tint=C3=B3?= <oriol.tinto@lmu.de>
Date: Mon, 17 Jul 2023 11:59:19 +0200
Subject: [PATCH] Run build-only before the other tests.

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

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index a516f59..0a0b6e7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,5 +1,6 @@
 stages:
   - clean
+  - build
   - run_tests
 
 clean-spack:
@@ -18,7 +19,7 @@ clean-spack:
 
 
 build-only:
-  stage: run_tests
+  stage: build
   script:
     - ./examples/00_build_only.sh
   tags:
-- 
GitLab