From 08e537cb1a3f25492068967b45477d6ea55c9655 Mon Sep 17 00:00:00 2001
From: Martin Weise <martin.weise@tuwien.ac.at>
Date: Mon, 20 Jan 2025 20:28:29 +0100
Subject: [PATCH] WIP

Signed-off-by: Martin Weise <martin.weise@tuwien.ac.at>
---
 .gitlab-ci.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 6352f81b13..61cd889982 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -302,9 +302,11 @@ test-auth-service-init:
   stage: test
   variables:
     PIPENV_PIPFILE: "./dbrepo-auth-service/init/Pipfile"
-  script:
+  before_script:
+    - "apk add --no-cache alpine-sdk gcc python3-dev mariadb-connector-c-dev"
     - "pip install pipenv"
     - "pipenv install gunicorn && pipenv install --dev --system --deploy"
+  script:
     - cd ./dbrepo-auth-service/init/ && coverage run -m pytest test/test_unit_app.py --junitxml=report.xml && coverage html --omit="test/*" && coverage report --omit="test/*" > ./coverage.txt
     - "cat ./coverage.txt | grep -o 'TOTAL[^%]*%'"
   artifacts:
-- 
GitLab