diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 19436bfc3214f26de4c2642af6a12213afad0d72..1f7647afe2f311722316d9895dacb5d5ae346594 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: