From 8f4542fcf696893c1ba81ebf3adaf556df262247 Mon Sep 17 00:00:00 2001 From: Fischer Jonas <jf131@hdm-stuttgart.de> Date: Thu, 22 Feb 2024 15:32:16 +0100 Subject: [PATCH] 22.02.2024 - Update .gitlab-ci.yml file #36 --- .gitlab-ci.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 22e97e2..e263df2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,9 +20,12 @@ test-backend: # This job runs in the test stage. image: maven:3.9.4-eclipse-temurin-21 services: - docker/compose:latest - script: + before_script: + - apt-get update -qy + - apt-get install -y docker-compose - echo 'Run docker compose' - docker compose up -d + script: - echo 'Running unit tests...' - cd ./sth-backend - mvn test -- GitLab