From 76b5aba8e450012f21ab9cf2a1635d11a06a63b2 Mon Sep 17 00:00:00 2001
From: sarahrubio <sarahrubio.pro@gmail.com>
Date: Tue, 18 Mar 2025 17:20:31 +0100
Subject: [PATCH] move services & image in test section

---
 .gitlab-ci.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index fb9e51b8..2f82b533 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,7 +1,3 @@
-services: 
-  - name: postgis/postgis:17-3.5
-    alias: postgres
-
 stages:
   - test
 
@@ -26,6 +22,10 @@ cache:
 
 test:
   stage: test
+  image: postgis/postgis:17-3.5
+  services: 
+    - name: postgis/postgis:17-3.5
+      alias: postgres
   before_script:
     # Install dependencies and create associated cache dirs
     - mkdir -p "${APT_STATE_LISTS}/partial"
-- 
GitLab