From 4c30f555f217c2ea4ae32abfe180d51efc52f9c0 Mon Sep 17 00:00:00 2001 From: Jonas <jonas.fischer14@gmx.de> Date: Thu, 22 Feb 2024 13:49:56 +0100 Subject: [PATCH] 22.02.2024 - adjust pipeline and merge branches #36 --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 19436bf..1f7647a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -19,7 +19,9 @@ test-backend: # This job runs in the test stage. stage: test # It only starts when the job in the build stage completes successfully. image: maven:3.9.4-eclipse-temurin-21 script: - - echo "Running unit tests..." + - "echo 'Starting Docker Container'" + - "docker-compose up -d" + - "echo 'Running unit tests...'" - "cd ./sth-backend" - "mvn test" artifacts: -- GitLab